aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-06 09:58:37 -0500
committerGitHub <noreply@github.com>2022-12-06 09:58:37 -0500
commita17abc7b34c7084329fe0f1f26b6df1eb5ecf008 (patch)
treee2a5afc9febee986ad1f1e1f565e10d13cb887d9 /src/input_common/CMakeLists.txt
parent91566794ec25a954901c761623a255bead316e42 (diff)
parent87fef2c12c8bcc1c69bfc010db9994f3d2ee50b8 (diff)
Merge pull request #9387 from abouvier/cmake-libusb
cmake: prefer system libusb
Diffstat (limited to 'src/input_common/CMakeLists.txt')
-rw-r--r--src/input_common/CMakeLists.txt4
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)