Skip to content

Commit

Permalink
Link with udev
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
deepbluev7 authored and Nekotekina committed Aug 7, 2017
1 parent c095a22 commit 3c082ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linux/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
add_library(hidapi-hidraw hid.c)
add_library(hidapi-hidraw hid.c)
target_link_libraries(hidapi-hidraw udev)

0 comments on commit 3c082ee

Please sign in to comment.