diff --git a/Externals/libusb/CMakeLists.txt b/Externals/libusb/CMakeLists.txt index 0faa2ac2f2..fe8c236140 100644 --- a/Externals/libusb/CMakeLists.txt +++ b/Externals/libusb/CMakeLists.txt @@ -48,7 +48,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") target_link_libraries(usb PRIVATE "${LIBUDEV_LIBRARIES}") target_include_directories(usb PRIVATE "${LIBUDEV_INCLUDE_DIR}") set(HAVE_LIBUDEV TRUE) - set(USE_LIBUDEV TRUE) + set(USE_UDEV TRUE) else() target_sources(usb PRIVATE libusb/os/linux_netlink.c) endif()