From 6c21fbfa04a2b34e0c3dfb4291b5ac0e7282495f Mon Sep 17 00:00:00 2001 From: Skyrimus Date: Sat, 28 Mar 2020 04:09:45 +0300 Subject: [PATCH] Dedicated server compiling fix --- Sources/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/CMakeLists.txt b/Sources/CMakeLists.txt index ac31117..7d35e9d 100755 --- a/Sources/CMakeLists.txt +++ b/Sources/CMakeLists.txt @@ -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)