diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2022-11-28 23:20:04 -0500 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2022-11-28 23:21:14 -0500 |
commit | 0941ae0b617839a724a62c0a69914686e81f053f (patch) | |
tree | 28c379025386165643e3d9677f29ff13ff4b6d47 /externals/CMakeLists.txt | |
parent | 47b133c0b8364f5f79a5d44332523f2e9b9985d0 (diff) |
CMake: Directly link to SDL2-static when appropriate
Trying to be lazy and alias SDL2 to SDL2-static causes issues in later
versions of CMake. Just use the same condition to tell which one to use.
Diffstat (limited to 'externals/CMakeLists.txt')
-rw-r--r-- | externals/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index d807ef65f..9740e017c 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -69,7 +69,6 @@ if (YUZU_USE_EXTERNAL_SDL2) set(SDL_SHARED OFF) add_subdirectory(SDL EXCLUDE_FROM_ALL) - add_library(SDL2 ALIAS SDL2-static) endif() # ENet |