diff options
| author | 2022-12-06 00:44:52 +0100 | |
|---|---|---|
| committer | 2022-12-06 01:26:30 +0100 | |
| commit | e6ae720c339f8ca97e0dbffe09f6c6b871bb82e0 (patch) | |
| tree | bc1508702cbeb633a311c2d40530b0b7893aee36 /src/input_common | |
| parent | Merge pull request #9388 from lioncash/fix-msvc (diff) | |
| download | yuzu-e6ae720c339f8ca97e0dbffe09f6c6b871bb82e0.tar.gz yuzu-e6ae720c339f8ca97e0dbffe09f6c6b871bb82e0.tar.xz yuzu-e6ae720c339f8ca97e0dbffe09f6c6b871bb82e0.zip | |
cmake: use sdl2 imported target
Diffstat (limited to 'src/input_common')
| -rw-r--r-- | src/input_common/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index e41da2726..ffccf4fc4 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) |
| 65 | endif() | 61 | endif() |
| 66 | 62 | ||