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, 1 insertions, 8 deletions
diff --git a/usbmuxd/CMakeLists.txt b/usbmuxd/CMakeLists.txt
index 8d22ef6..b982dc0 100644
--- a/usbmuxd/CMakeLists.txt
+++ b/usbmuxd/CMakeLists.txt
@@ -1,16 +1,9 @@
1PROJECT(usbmuxd)
2
3cmake_minimum_required(VERSION 2.6)
4
5set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Modules/")
6
7find_package(USB REQUIRED) 1find_package(USB REQUIRED)
8include_directories(${USB_INCLUDE_DIRS}) 2include_directories(${USB_INCLUDE_DIRS})
9set(LIBS ${LIBS} ${USB_LIBRARIES}) 3set(LIBS ${LIBS} ${USB_LIBRARIES})
10 4
11#set(CMAKE_VERBOSE_MAKEFILE ON)
12
13add_definitions(-Wall -O2 -g) 5add_definitions(-Wall -O2 -g)
14add_executable(usbmuxd main.c usb-linux.c log.c utils.c device.c client.c) 6add_executable(usbmuxd main.c usb-linux.c log.c utils.c device.c client.c)
15target_link_libraries(usbmuxd ${LIBS}) 7target_link_libraries(usbmuxd ${LIBS})
16 8
9install(TARGETS usbmuxd RUNTIME DESTINATION sbin) \ No newline at end of file