summaryrefslogtreecommitdiffstats
path: root/usbmuxd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'usbmuxd/CMakeLists.txt')
-rw-r--r--usbmuxd/CMakeLists.txt9
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 @@
+find_package(USB REQUIRED)
+include_directories(${USB_INCLUDE_DIRS})
+set(LIBS ${LIBS} ${USB_LIBRARIES})
+
+add_definitions(-Wall -O2 -g)
+add_executable(usbmuxd main.c usb-linux.c log.c utils.c device.c client.c)
+target_link_libraries(usbmuxd ${LIBS})
+
+install(TARGETS usbmuxd RUNTIME DESTINATION sbin) \ No newline at end of file