Server mode not link sdl2

This commit is contained in:
yangchao 2022-02-23 16:19:27 +08:00
parent 5088645437
commit 4e1cb24922
1 changed files with 4 additions and 1 deletions

View File

@ -177,8 +177,11 @@ list(APPEND CC_EXTERNAL_LIBS
png
websockets
webp
sdl2
curl
${optional_libs_name}
${glslang_libs_name}
)
if(NOT USE_SERVER_MODE)
list(APPEND CC_EXTERNAL_LIBS sdl2)
endif()