summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-05-09 08:38:46 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-05-09 08:38:46 +0200
commitb021e09fc097d2669c9e80bb3198977c725bc646 (patch)
tree021b5b619e60cdf2ab7b19be0fe53482281e054f /externals
parentexternals: Update SDL to 107db2d8 (diff)
downloadyuzu-b021e09fc097d2669c9e80bb3198977c725bc646.tar
yuzu-b021e09fc097d2669c9e80bb3198977c725bc646.tar.gz
yuzu-b021e09fc097d2669c9e80bb3198977c725bc646.tar.bz2
yuzu-b021e09fc097d2669c9e80bb3198977c725bc646.tar.lz
yuzu-b021e09fc097d2669c9e80bb3198977c725bc646.tar.xz
yuzu-b021e09fc097d2669c9e80bb3198977c725bc646.tar.zst
yuzu-b021e09fc097d2669c9e80bb3198977c725bc646.zip
Diffstat (limited to 'externals')
-rw-r--r--externals/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index e044d9730..e280e53d7 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -47,7 +47,10 @@ target_include_directories(unicorn-headers INTERFACE ./unicorn/include)
# SDL2
if (NOT SDL2_FOUND AND ENABLE_SDL2)
+ set(SDL_STATIC ON)
+ set(SDL_SHARED OFF)
add_subdirectory(SDL EXCLUDE_FROM_ALL)
+ add_library(SDL2 ALIAS SDL2-static)
endif()
# SoundTouch