summaryrefslogtreecommitdiff
path: root/src/input_common
diff options
context:
space:
mode:
authorGravatar liamwhite2022-12-06 09:58:48 -0500
committerGravatar GitHub2022-12-06 09:58:48 -0500
commita225ba4cda6a5e38af6cd7464d19754506152ec9 (patch)
tree3506ce99ec9730d6ae08e593c0c7a4979d9e8ce2 /src/input_common
parentMerge pull request #9387 from abouvier/cmake-libusb (diff)
parentcmake: use sdl2 imported target (diff)
downloadyuzu-a225ba4cda6a5e38af6cd7464d19754506152ec9.tar.gz
yuzu-a225ba4cda6a5e38af6cd7464d19754506152ec9.tar.xz
yuzu-a225ba4cda6a5e38af6cd7464d19754506152ec9.zip
Merge pull request #9391 from abouvier/cmake-sdl
cmake: use sdl2 imported target
Diffstat (limited to 'src/input_common')
-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 2c9e1d359..7932aaab0 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -56,11 +56,7 @@ if (ENABLE_SDL2)
56 drivers/sdl_driver.cpp 56 drivers/sdl_driver.cpp
57 drivers/sdl_driver.h 57 drivers/sdl_driver.h
58 ) 58 )
59 if (YUZU_USE_EXTERNAL_SDL2) 59 target_link_libraries(input_common PRIVATE SDL2::SDL2)
60 target_link_libraries(input_common PRIVATE SDL2-static)
61 else()
62 target_link_libraries(input_common PRIVATE SDL2)
63 endif()
64 target_compile_definitions(input_common PRIVATE HAVE_SDL2) 60 target_compile_definitions(input_common PRIVATE HAVE_SDL2)
65endif() 61endif()
66 62