aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-06 09:58:48 -0500
committerGitHub <noreply@github.com>2022-12-06 09:58:48 -0500
commitec6bca7a6fb60b6df554b7814f95d067cc0b4e07 (patch)
tree3506ce99ec9730d6ae08e593c0c7a4979d9e8ce2 /src/input_common/CMakeLists.txt
parenta17abc7b34c7084329fe0f1f26b6df1eb5ecf008 (diff)
parent75f9183846c07893fb9831e256134d66bfa2016f (diff)
Merge pull request #9391 from abouvier/cmake-sdl
cmake: use sdl2 imported target
Diffstat (limited to 'src/input_common/CMakeLists.txt')
-rw-r--r--src/input_common/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt
index 2c9e1d3590..7932aaab02 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -56,11 +56,7 @@ if (ENABLE_SDL2)
drivers/sdl_driver.cpp
drivers/sdl_driver.h
)
- if (YUZU_USE_EXTERNAL_SDL2)
- target_link_libraries(input_common PRIVATE SDL2-static)
- else()
- target_link_libraries(input_common PRIVATE SDL2)
- endif()
+ target_link_libraries(input_common PRIVATE SDL2::SDL2)
target_compile_definitions(input_common PRIVATE HAVE_SDL2)
endif()