--- mingw-w64-ucrt-x86_64-hackrf-git/host/cmake/modules/FindUSB1.cmake 2025-01-26 20:54:47.804765500 +0100 +++ mingw-w64-ucrt-x86_64-hackrf-git/host/cmake/modules/FindUSB1.cmake 2025-01-26 21:04:11.905291500 +0100 @@ -17,12 +17,10 @@ set(LIBUSB_FOUND TRUE) else (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) - IF (NOT WIN32) # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls find_package(PkgConfig) pkg_check_modules(PC_LIBUSB libusb-1.0) - ENDIF(NOT WIN32) set(LIBUSB_LIBRARY_NAME usb-1.0) IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")