From b31754980c16838eeb48baeb26b3751c33aeaf33 Mon Sep 17 00:00:00 2001 From: Zopolis4 Date: Sat, 28 May 2022 11:26:08 +0000 Subject: [PATCH] Fix cmake detection of libudev in hidapi broken in #9071 --- Externals/hidapi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)