mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-21 00:45:21 -04:00
907965cc13
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)
|