diff options
Diffstat (limited to 'src/input_common/CMakeLists.txt')
| -rw-r--r-- | src/input_common/CMakeLists.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index e41da2726..7932aaab0 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt | |||
| @@ -56,18 +56,12 @@ 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 | ||
| 67 | target_link_libraries(input_common PRIVATE usb) | ||
| 68 | |||
| 69 | create_target_directory_groups(input_common) | 63 | create_target_directory_groups(input_common) |
| 70 | target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) | 64 | target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost libusb::usb) |
| 71 | 65 | ||
| 72 | if (YUZU_USE_PRECOMPILED_HEADERS) | 66 | if (YUZU_USE_PRECOMPILED_HEADERS) |
| 73 | target_precompile_headers(input_common PRIVATE precompiled_headers.h) | 67 | target_precompile_headers(input_common PRIVATE precompiled_headers.h) |