diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-09 10:38:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-09 10:38:28 +0200 |
commit | f2b76284ed5174c8c36b40f1bccaa6f66f9876c0 (patch) | |
tree | 021b5b619e60cdf2ab7b19be0fe53482281e054f /externals | |
parent | Update SDL2 to SDL2-2.0.15-prerelease. (diff) | |
parent | externals: Use SDL2 statically (diff) | |
download | yuzu-f2b76284ed5174c8c36b40f1bccaa6f66f9876c0.tar yuzu-f2b76284ed5174c8c36b40f1bccaa6f66f9876c0.tar.gz yuzu-f2b76284ed5174c8c36b40f1bccaa6f66f9876c0.tar.bz2 yuzu-f2b76284ed5174c8c36b40f1bccaa6f66f9876c0.tar.lz yuzu-f2b76284ed5174c8c36b40f1bccaa6f66f9876c0.tar.xz yuzu-f2b76284ed5174c8c36b40f1bccaa6f66f9876c0.tar.zst yuzu-f2b76284ed5174c8c36b40f1bccaa6f66f9876c0.zip |
Diffstat (limited to '')
-rw-r--r-- | externals/CMakeLists.txt | 3 | ||||
m--------- | externals/SDL | 0 |
2 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 diff --git a/externals/SDL b/externals/SDL -Subproject 4cd981609b50ed273d80c635c1ca4c1e5518fb2 +Subproject 107db2d89953ee7cc03417d43da1f26bd03aad5 |