mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
CMake: Use system C library for SDL from externals.
This commit is contained in:
parent
e2e7bc2fa3
commit
869dab5173
@ -628,6 +628,7 @@ if(ENABLE_SDL)
|
|||||||
set(SDL_STATIC_ENABLED_BY_DEFAULT ON)
|
set(SDL_STATIC_ENABLED_BY_DEFAULT ON)
|
||||||
set(SDL_TEST OFF)
|
set(SDL_TEST OFF)
|
||||||
set(SDL_TEST_ENABLED_BY_DEFAULT OFF)
|
set(SDL_TEST_ENABLED_BY_DEFAULT OFF)
|
||||||
|
set(OPT_DEF_LIBC ON)
|
||||||
add_subdirectory(Externals/SDL/SDL)
|
add_subdirectory(Externals/SDL/SDL)
|
||||||
if (TARGET SDL2)
|
if (TARGET SDL2)
|
||||||
dolphin_disable_warnings_msvc(SDL2)
|
dolphin_disable_warnings_msvc(SDL2)
|
||||||
|
Loading…
Reference in New Issue
Block a user