aboutsummaryrefslogtreecommitdiff
path: root/src/input_common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-10 23:35:30 -0700
committerGitHub <noreply@github.com>2021-06-10 23:35:30 -0700
commit78d9caa5dfcf400aca971fdb9bfad6986e537fc5 (patch)
tree52099adfbf49176b8584eef2549e65a4d3e7a4a0 /src/input_common
parentf0732b09b85db549e2b55d0d310d58f8b9378af5 (diff)
parent0033535d4c8ac63e43fdbead7f406bd6c4616728 (diff)
Merge pull request #6407 from lat9nq/fix-libusb-2
cmake: Use autotools for libusb linking generally on GNU, and cleanup
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt
index de53e1fda1..7c5763f9c1 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -71,8 +71,7 @@ if (ENABLE_SDL2)
target_compile_definitions(input_common PRIVATE HAVE_SDL2)
endif()
-target_include_directories(input_common SYSTEM PRIVATE ${LIBUSB_INCLUDE_DIR})
-target_link_libraries(input_common PRIVATE ${LIBUSB_LIBRARIES})
+target_link_libraries(input_common PRIVATE usb)
create_target_directory_groups(input_common)
target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost)