diff options
Diffstat (limited to 'usbmuxd/CMakeLists.txt')
| -rw-r--r-- | usbmuxd/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usbmuxd/CMakeLists.txt b/usbmuxd/CMakeLists.txt new file mode 100644 index 0000000..b982dc0 --- /dev/null +++ b/usbmuxd/CMakeLists.txt | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | find_package(USB REQUIRED) | ||
| 2 | include_directories(${USB_INCLUDE_DIRS}) | ||
| 3 | set(LIBS ${LIBS} ${USB_LIBRARIES}) | ||
| 4 | |||
| 5 | add_definitions(-Wall -O2 -g) | ||
| 6 | add_executable(usbmuxd main.c usb-linux.c log.c utils.c device.c client.c) | ||
| 7 | target_link_libraries(usbmuxd ${LIBS}) | ||
| 8 | |||
| 9 | install(TARGETS usbmuxd RUNTIME DESTINATION sbin) \ No newline at end of file | ||
