Merge pull request #411 from cocos/v3.8.1
SDL use static libraries (#409)
This commit is contained in:
commit
25cd1fdf2b
|
|
@ -83,7 +83,7 @@ set_target_properties(GLESv2 PROPERTIES
|
|||
|
||||
add_library(SDL2 SHARED IMPORTED GLOBAL)
|
||||
set_target_properties(SDL2 PROPERTIES
|
||||
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/libSDL2-2.0.0.dylib
|
||||
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/libSDL2.a
|
||||
)
|
||||
|
||||
set(se_libs_name)
|
||||
|
|
@ -211,6 +211,9 @@ list(APPEND CC_EXTERNAL_LIBS
|
|||
webp
|
||||
curl
|
||||
SDL2
|
||||
# sdl2 depends on the following two libraries.
|
||||
"-framework IOKit"
|
||||
"-framework Carbon"
|
||||
${glslang_libs_name}
|
||||
${spirv-cross_libs_name}
|
||||
${tbb_libs_name}
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue