Dedicated server compiling fix

This commit is contained in:
Skyrimus 2020-03-28 04:09:45 +03:00 committed by GitHub
parent 164070a54c
commit 6c21fbfa04
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)
if(BUILD_DEDICATED_SERVER)
add_executable(SeriousSamDedicated ${ENGINE_SRCS} DedicatedServer/DedicatedServer.cpp)
target_link_libraries(SeriousSamDedicated engine_safemath)
add_dependencies(SeriousSamDedicated ParseEntities)
# Make symbols in the main executable available to dynamic objects
set_target_properties(SeriousSamDedicated PROPERTIES ENABLE_EXPORTS ON)