Server mode not link sdl2 (#221)

This commit is contained in:
yangchao
2022-02-24 14:49:47 +08:00
committed by GitHub
parent 5088645437
commit f28eba4d2f
+4 -1
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()