CMake: Use system C library for SDL from externals.

This commit is contained in:
Admiral H. Curtiss 2022-07-14 18:40:18 +02:00
parent e2e7bc2fa3
commit 869dab5173
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

View File

@ -628,6 +628,7 @@ if(ENABLE_SDL)
set(SDL_STATIC_ENABLED_BY_DEFAULT ON)
set(SDL_TEST OFF)
set(SDL_TEST_ENABLED_BY_DEFAULT OFF)
set(OPT_DEF_LIBC ON)
add_subdirectory(Externals/SDL/SDL)
if (TARGET SDL2)
dolphin_disable_warnings_msvc(SDL2)