From 60b134e499162671c039c6ad897d6784309a7e64 Mon Sep 17 00:00:00 2001 From: madbad Date: Mon, 23 Nov 2015 19:44:47 +0000 Subject: [PATCH] More fixex from joe to build on Windows git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6271 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: cbd472c755b82ae8836a40f7a21d73a647267982 Former-commit-id: 8e5f69f5f02cc6b47b07ebc0018bc98d5d47cf91 --- src/modules/racing/standardgame/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/racing/standardgame/CMakeLists.txt b/src/modules/racing/standardgame/CMakeLists.txt index bcdc37931..e8ebcb29d 100644 --- a/src/modules/racing/standardgame/CMakeLists.txt +++ b/src/modules/racing/standardgame/CMakeLists.txt @@ -56,8 +56,11 @@ SD_ADD_LIBRARY(standardgame MODULE ${_SOURCES} ${_HEADERS} ${_OTHER_SOURCES}) # Might not work with GCC 4.5 or + (non-robot modules crash at 1st reload = after 1 dlclose) #SET_TARGET_PROPERTIES(standardgame PROPERTIES VERSION ${VERSION} SOVERSION 0.0.0) - -ADD_SDLIB_LIBRARY(standardgame portability tgf tgfdata robottools networking) +IF(OPTION_WEBSERVER) + ADD_SDLIB_LIBRARY(standardgame portability tgf tgfdata robottools networking tgfclient) +ELSE(OPTION_WEBSERVER) + ADD_SDLIB_LIBRARY(standardgame portability tgf tgfdata robottools networking) +ENDIF(OPTION_WEBSERVER) IF(OPTION_3RDPARTY_SQLITE3) ADD_SQLITE3_LIBRARY(standardgame)