Try to make UDev detection quieter
This commit is contained in:
parent
396d9e4c3b
commit
84c5ea976b
2 changed files with 2 additions and 2 deletions
2
3rdparty/hidapi/CMakeLists.txt
vendored
2
3rdparty/hidapi/CMakeLists.txt
vendored
|
@ -33,7 +33,7 @@ elseif(APPLE)
|
||||||
target_link_libraries(hidapi ${IOKIT_FRAMEWORK})
|
target_link_libraries(hidapi ${IOKIT_FRAMEWORK})
|
||||||
else()
|
else()
|
||||||
# Linux-y things
|
# Linux-y things
|
||||||
find_package(UDev)
|
find_package(UDev QUIET)
|
||||||
if (UDEV_FOUND)
|
if (UDEV_FOUND)
|
||||||
target_link_libraries(hidapi ${UDEV_LIBRARIES})
|
target_link_libraries(hidapi ${UDEV_LIBRARIES})
|
||||||
else()
|
else()
|
||||||
|
|
|
@ -142,7 +142,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR
|
||||||
|
|
||||||
set(USE_DBUS_DEFAULT 1)
|
set(USE_DBUS_DEFAULT 1)
|
||||||
|
|
||||||
find_package(UDev)
|
find_package(UDev QUIET)
|
||||||
if(UDEV_FOUND)
|
if(UDEV_FOUND)
|
||||||
set(EVENT_INPUT_DEFAULT 1)
|
set(EVENT_INPUT_DEFAULT 1)
|
||||||
endif(UDEV_FOUND)
|
endif(UDEV_FOUND)
|
||||||
|
|
Loading…
Add table
Reference in a new issue