SDL use static libraries (#409)
This commit is contained in:
parent
795d74c84b
commit
24253d9b2e
|
|
@ -83,7 +83,7 @@ set_target_properties(GLESv2 PROPERTIES
|
||||||
|
|
||||||
add_library(SDL2 SHARED IMPORTED GLOBAL)
|
add_library(SDL2 SHARED IMPORTED GLOBAL)
|
||||||
set_target_properties(SDL2 PROPERTIES
|
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)
|
set(se_libs_name)
|
||||||
|
|
@ -211,6 +211,9 @@ list(APPEND CC_EXTERNAL_LIBS
|
||||||
webp
|
webp
|
||||||
curl
|
curl
|
||||||
SDL2
|
SDL2
|
||||||
|
# sdl2 depends on the following two libraries.
|
||||||
|
"-framework IOKit"
|
||||||
|
"-framework Carbon"
|
||||||
${glslang_libs_name}
|
${glslang_libs_name}
|
||||||
${spirv-cross_libs_name}
|
${spirv-cross_libs_name}
|
||||||
${tbb_libs_name}
|
${tbb_libs_name}
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue