1
0
Fork 0

Try to make UDev detection quieter

This commit is contained in:
James Turner 2019-05-28 09:14:49 -07:00
parent 396d9e4c3b
commit 84c5ea976b
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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)