diff options
| author | Guilherme Janczak <guilherme.janczak@yandex.com> | 2024-05-06 17:44:32 +0000 |
|---|---|---|
| committer | Guilherme Janczak <guilherme.janczak@yandex.com> | 2024-05-06 17:44:32 +0000 |
| commit | c1e6316bdc72ba5ab44332f4d530bfd79f9f6637 (patch) | |
| tree | 2569a20765153ca9b77e7cfbbc8e04084bd1e52e /Externals | |
| parent | 2c913674295e08bca0e2cb1726b778fb61bf6bd1 (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.txt | 2 |
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() |
