This commit is contained in:
Enrico Turri 2019-12-13 17:57:17 +01:00
commit 1e617ee3b4
8 changed files with 221 additions and 223 deletions

View file

@ -15,5 +15,5 @@ add_library(hidapi STATIC ${HIDAPI_IMPL})
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
# Don't link the udev library, as there are two versions out there (libudev.so.0, libudev.so.1), so they are linked explicitely.
# target_link_libraries(hidapi udev)
target_link_libraries(hidapi)
target_link_libraries(hidapi dl)
endif()