From 84c5ea976b28efd69ecd8f280e78a86bc32d7fcd Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 28 May 2019 09:14:49 -0700 Subject: [PATCH] Try to make UDev detection quieter --- 3rdparty/hidapi/CMakeLists.txt | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/hidapi/CMakeLists.txt b/3rdparty/hidapi/CMakeLists.txt index 50d05572a..06fc8a352 100644 --- a/3rdparty/hidapi/CMakeLists.txt +++ b/3rdparty/hidapi/CMakeLists.txt @@ -33,7 +33,7 @@ elseif(APPLE) target_link_libraries(hidapi ${IOKIT_FRAMEWORK}) else() # Linux-y things - find_package(UDev) + find_package(UDev QUIET) if (UDEV_FOUND) target_link_libraries(hidapi ${UDEV_LIBRARIES}) else() diff --git a/CMakeLists.txt b/CMakeLists.txt index 785b049d4..80df642a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,7 +142,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR set(USE_DBUS_DEFAULT 1) - find_package(UDev) + find_package(UDev QUIET) if(UDEV_FOUND) set(EVENT_INPUT_DEFAULT 1) endif(UDEV_FOUND)