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