diff options
| author | Alexandre Bouvier <contact@amb.tf> | 2022-12-05 22:03:34 +0100 |
|---|---|---|
| committer | Alexandre Bouvier <contact@amb.tf> | 2022-12-06 05:30:40 +0100 |
| commit | 87fef2c12c8bcc1c69bfc010db9994f3d2ee50b8 (patch) | |
| tree | 093eec7642239bb4cfbea05121870191d2f181f7 /src/input_common/CMakeLists.txt | |
| parent | 8072951e0477967c893f0379089059f4292867a3 (diff) | |
cmake: prefer system libusb
Diffstat (limited to 'src/input_common/CMakeLists.txt')
| -rw-r--r-- | src/input_common/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index e41da27269..2c9e1d3590 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt @@ -64,10 +64,8 @@ if (ENABLE_SDL2) target_compile_definitions(input_common PRIVATE HAVE_SDL2) endif() -target_link_libraries(input_common PRIVATE usb) - create_target_directory_groups(input_common) -target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) +target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost libusb::usb) if (YUZU_USE_PRECOMPILED_HEADERS) target_precompile_headers(input_common PRIVATE precompiled_headers.h) |
