Merge pull request #17 from Skyrimus/patch-1

Dedicated server compiling fix
This commit is contained in:
ptitSeb 2020-03-28 07:35:16 +01:00 committed by GitHub
commit 6ee27922c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -952,6 +952,7 @@ set_target_properties(ssam PROPERTIES ENABLE_EXPORTS ON)
option(BUILD_DEDICATED_SERVER "Compile the dedicated server, too" FALSE) option(BUILD_DEDICATED_SERVER "Compile the dedicated server, too" FALSE)
if(BUILD_DEDICATED_SERVER) if(BUILD_DEDICATED_SERVER)
add_executable(SeriousSamDedicated ${ENGINE_SRCS} DedicatedServer/DedicatedServer.cpp) add_executable(SeriousSamDedicated ${ENGINE_SRCS} DedicatedServer/DedicatedServer.cpp)
target_link_libraries(SeriousSamDedicated engine_safemath)
add_dependencies(SeriousSamDedicated ParseEntities) add_dependencies(SeriousSamDedicated ParseEntities)
# Make symbols in the main executable available to dynamic objects # Make symbols in the main executable available to dynamic objects
set_target_properties(SeriousSamDedicated PROPERTIES ENABLE_EXPORTS ON) set_target_properties(SeriousSamDedicated PROPERTIES ENABLE_EXPORTS ON)