From 869dab51731a22e6ef0292ba133912f646a22791 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Thu, 14 Jul 2022 18:40:18 +0200 Subject: [PATCH] CMake: Use system C library for SDL from externals. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7da439b18..91f41c2942 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)