diff --git CMakeLists.txt CMakeLists.txt index 4d1a64c..a40b6cc 100644 --- CMakeLists.txt +++ CMakeLists.txt @@ -75,7 +78,8 @@ endif() find_package(Gnuradio "3.8" REQUIRED audio blocks PATHS ${CMAKE_INSTALL_PREFIX} ) list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_SOURCE_DIR}/cmake/Modules") -FIND_LIBRARY(HIDAPI_LIBRARY hidapi-libusb) +FIND_PATH(HIDAPI_INCLUDES hidapi.h PATH ${CMAKE_INSTALL_PREFIX}/include/hidapi) +FIND_LIBRARY(HIDAPI_LIBRARY hidapi) include(GrVersion) --- CMakeLists.txt.orig 2022-01-14 09:23:39.000000000 +0100 +++ CMakeLists.txt 2022-01-14 09:24:54.000000000 +0100 @@ -135,12 +135,7 @@ ######################################################################## # Setup doxygen option ######################################################################## -find_package(Doxygen) -if(DOXYGEN_FOUND) - option(ENABLE_DOXYGEN "Build docs using Doxygen" ON) -else(DOXYGEN_FOUND) - option(ENABLE_DOXYGEN "Build docs using Doxygen" OFF) -endif(DOXYGEN_FOUND) +set(ENABLE_DOXYGEN FALSE CACHE BOOL "disable doxygen" FORCE) ######################################################################## # Create uninstall target