Link with udev

While it works fine to link with udev later, the build will break if you
use more extreme linker flags with undefined references to libudev.
This commit is contained in:
Nicolas Werner
2017-07-10 12:47:37 +02:00
committed by Ivan
parent d154a64eff
commit 907965cc13
+1
View File
@@ -1 +1,2 @@
add_library(hidapi-hidraw hid.c)
target_link_libraries(hidapi-hidraw udev)