summaryrefslogtreecommitdiffstats
path: root/src/input_common/CMakeLists.txt
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-06 15:58:37 +0100
committerGitHub <noreply@github.com>2022-12-06 15:58:37 +0100
commite86e144a7c3a6039f1262b53e6f56ccdb9ce3cc0 (patch)
treee2a5afc9febee986ad1f1e1f565e10d13cb887d9 /src/input_common/CMakeLists.txt
parentMerge pull request #9394 from lioncash/translate (diff)
parentcmake: prefer system libusb (diff)
downloadyuzu-e86e144a7c3a6039f1262b53e6f56ccdb9ce3cc0.tar
yuzu-e86e144a7c3a6039f1262b53e6f56ccdb9ce3cc0.tar.gz
yuzu-e86e144a7c3a6039f1262b53e6f56ccdb9ce3cc0.tar.bz2
yuzu-e86e144a7c3a6039f1262b53e6f56ccdb9ce3cc0.tar.lz
yuzu-e86e144a7c3a6039f1262b53e6f56ccdb9ce3cc0.tar.xz
yuzu-e86e144a7c3a6039f1262b53e6f56ccdb9ce3cc0.tar.zst
yuzu-e86e144a7c3a6039f1262b53e6f56ccdb9ce3cc0.zip
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 e41da2726..2c9e1d359 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)