summaryrefslogtreecommitdiff
path: root/Externals
diff options
context:
space:
mode:
authorGuilherme Janczak <guilherme.janczak@yandex.com>2024-05-06 17:44:32 +0000
committerGuilherme Janczak <guilherme.janczak@yandex.com>2024-05-06 17:44:32 +0000
commitc1e6316bdc72ba5ab44332f4d530bfd79f9f6637 (patch)
tree2569a20765153ca9b77e7cfbbc8e04084bd1e52e /Externals
parent2c913674295e08bca0e2cb1726b778fb61bf6bd1 (diff)
use pkg-config to find libusb
This makes more (but not all) of the compilation process succeed on NetBSD.
Diffstat (limited to 'Externals')
-rw-r--r--Externals/hidapi/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Externals/hidapi/CMakeLists.txt b/Externals/hidapi/CMakeLists.txt
index 6ea9d24e4f..210643caf0 100644
--- a/Externals/hidapi/CMakeLists.txt
+++ b/Externals/hidapi/CMakeLists.txt
@@ -15,7 +15,7 @@ else()
target_link_libraries(hidapi PRIVATE udev)
else()
target_sources(hidapi PRIVATE hidapi-src/libusb/hid.c)
- target_link_libraries(hidapi PRIVATE ${LIBUSB_LIBRARIES})
+ target_link_libraries(hidapi PRIVATE LibUSB::LibUSB)
endif()
endif()