--- bundled_deps/hidapi/CMakeLists.txt.orig 2026-05-19 09:09:17 UTC +++ bundled_deps/hidapi/CMakeLists.txt @@ -10,6 +10,9 @@ elseif (APPLE) add_library(hidapi STATIC ${HIDAPI_IMPL}) target_include_directories(hidapi PUBLIC include) +elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") + set(HIDAPI_IMPL libusb/hid.c) + else () find_package(PkgConfig REQUIRED)