mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-24 20:15:34 -04:00
3c082ee1d7
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.
3 lines
75 B
CMake
3 lines
75 B
CMake
add_library(hidapi-hidraw hid.c)
|
|
target_link_libraries(hidapi-hidraw udev)
|