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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()