server mode no window
This commit is contained in:
parent
ea41ab8f47
commit
857e7daa82
|
|
@ -253,14 +253,15 @@ list(APPEND CC_EXTERNAL_LIBS
|
||||||
OpenAL32
|
OpenAL32
|
||||||
sqlite3
|
sqlite3
|
||||||
websockets
|
websockets
|
||||||
SDL2
|
|
||||||
SDL2Main
|
|
||||||
tcmalloc
|
tcmalloc
|
||||||
${glslang_libs_name}
|
${glslang_libs_name}
|
||||||
${tbb_libs_name}
|
${tbb_libs_name}
|
||||||
${PhysXSDK}
|
${PhysXSDK}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(NOT USE_SERVER_MODE)
|
||||||
|
list(APPEND CC_EXTERNAL_LIBS SDL2 SDL2Main)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(ZLIB zlib)
|
set(ZLIB zlib)
|
||||||
if(NOT USE_MODULES)
|
if(NOT USE_MODULES)
|
||||||
|
|
|
||||||
|
|
@ -253,14 +253,16 @@ list(APPEND CC_EXTERNAL_LIBS
|
||||||
sqlite3
|
sqlite3
|
||||||
zlib
|
zlib
|
||||||
websockets
|
websockets
|
||||||
SDL2
|
|
||||||
SDL2Main
|
|
||||||
tcmalloc
|
tcmalloc
|
||||||
${glslang_libs_name}
|
${glslang_libs_name}
|
||||||
${tbb_libs_name}
|
${tbb_libs_name}
|
||||||
${PhysXSDK}
|
${PhysXSDK}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(NOT USE_SERVER_MODE)
|
||||||
|
list(APPEND CC_EXTERNAL_LIBS SDL2 SDL2Main)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(ZLIB zlib)
|
set(ZLIB zlib)
|
||||||
if(NOT USE_MODULES)
|
if(NOT USE_MODULES)
|
||||||
list(APPEND CC_EXTERNAL_LIBS ${ZLIB}
|
list(APPEND CC_EXTERNAL_LIBS ${ZLIB}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue