mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-27 17:39:34 -06:00
use pkg-config to find libusb
This makes more (but not all) of the compilation process succeed on NetBSD.
This commit is contained in:
2
Externals/hidapi/CMakeLists.txt
vendored
2
Externals/hidapi/CMakeLists.txt
vendored
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user