diff --git a/Externals/hidapi/CMakeLists.txt b/Externals/hidapi/CMakeLists.txt index 1cf77404f0..a5d88df5fe 100644 --- a/Externals/hidapi/CMakeLists.txt +++ b/Externals/hidapi/CMakeLists.txt @@ -9,7 +9,7 @@ if(APPLE) elseif(MSVC) target_sources(hidapi PRIVATE windows/hid.c) else() - find_package(Libudev) + find_package(LIBUDEV) if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND LIBUDEV_FOUND) target_sources(hidapi PRIVATE linux/hid.c) target_link_libraries(hidapi PRIVATE udev)