summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2021-01-16 01:13:52 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2021-01-22 20:24:28 +0100
commit71361a2d26063e82ee423634337065fee7bb5c5e (patch)
tree92c1d7f77870faf725a747a5c99c7e3d42bcaa93 /cmake
parentd8e631fb22e1d78f06d6bb393cbd9d0645ed902c (diff)
CMake: Fix hidapi detection
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindHIDAPI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindHIDAPI.cmake b/cmake/modules/FindHIDAPI.cmake
index 7f2f2fa6ed..699fd31670 100644
--- a/cmake/modules/FindHIDAPI.cmake
+++ b/cmake/modules/FindHIDAPI.cmake
@@ -56,7 +56,7 @@ find_path(HIDAPI_INCLUDE_DIR
mark_as_advanced(HIDAPI_INCLUDE_DIR)
find_library(HIDAPI_LIBRARY
- NAMES hidapi-libusb
+ NAMES hidapi-libusb hidapi
PATHS ${PC_HIDAPI_LIBRARY_DIRS}
DOC "HIDAPI library"
)