[client,sdl] fix c++ static initialization order
This commit is contained in:
parent
3095814184
commit
3bdaca81d0
@ -72,6 +72,11 @@ else()
|
||||
)
|
||||
endif()
|
||||
|
||||
# C++ static initialization order is dependent on which file is added
|
||||
# first. We need the reverse of what we created here (the implementation
|
||||
# classes should be last, the factory first)
|
||||
list(REVERSE SRCS)
|
||||
|
||||
add_library(sdl_client_res OBJECT
|
||||
${RES_FILES}
|
||||
${SRCS}
|
||||
|
Loading…
Reference in New Issue
Block a user