server mode no window

This commit is contained in:
yangchao 2022-05-10 14:24:21 +08:00
parent ea41ab8f47
commit 857e7daa82
2 changed files with 7 additions and 4 deletions

View File

@ -253,14 +253,15 @@ list(APPEND CC_EXTERNAL_LIBS
OpenAL32
sqlite3
websockets
SDL2
SDL2Main
tcmalloc
${glslang_libs_name}
${tbb_libs_name}
${PhysXSDK}
)
if(NOT USE_SERVER_MODE)
list(APPEND CC_EXTERNAL_LIBS SDL2 SDL2Main)
endif()
set(ZLIB zlib)
if(NOT USE_MODULES)

View File

@ -253,14 +253,16 @@ list(APPEND CC_EXTERNAL_LIBS
sqlite3
zlib
websockets
SDL2
SDL2Main
tcmalloc
${glslang_libs_name}
${tbb_libs_name}
${PhysXSDK}
)
if(NOT USE_SERVER_MODE)
list(APPEND CC_EXTERNAL_LIBS SDL2 SDL2Main)
endif()
set(ZLIB zlib)
if(NOT USE_MODULES)
list(APPEND CC_EXTERNAL_LIBS ${ZLIB}