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 c095a22c53
commit 3c082ee1d7
+2 -1
View File
@@ -1 +1,2 @@
add_library(hidapi-hidraw hid.c)
add_library(hidapi-hidraw hid.c)
target_link_libraries(hidapi-hidraw udev)