diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-11-29 19:41:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-29 19:41:47 -0500 |
| commit | 49219b8a864f0176a52486e5a33cc443f91e8f97 (patch) | |
| tree | 1b655d4b25ff251d75ebbd829f3541999616e4cc /src/input_common/CMakeLists.txt | |
| parent | d6b63239ae5011cbe8aa59b44bfd813e30f75d56 (diff) | |
| parent | 0941ae0b617839a724a62c0a69914686e81f053f (diff) | |
Merge pull request #9349 from lat9nq/cmake-322
CMakeLists: Bump minimum required CMake version to 3.22
Diffstat (limited to 'src/input_common/CMakeLists.txt')
| -rw-r--r-- | src/input_common/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index cc6f0ffc0..193127d0a 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt @@ -55,7 +55,11 @@ if (ENABLE_SDL2) drivers/sdl_driver.cpp drivers/sdl_driver.h ) - target_link_libraries(input_common PRIVATE SDL2) + if (YUZU_USE_EXTERNAL_SDL2) + target_link_libraries(input_common PRIVATE SDL2-static) + else() + target_link_libraries(input_common PRIVATE SDL2) + endif() target_compile_definitions(input_common PRIVATE HAVE_SDL2) endif() |
