diff options
Diffstat (limited to 'daemon/CMakeLists.txt')
-rw-r--r-- | daemon/CMakeLists.txt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt deleted file mode 100644 index c323f7b..0000000 --- a/daemon/CMakeLists.txt +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | find_package(USB REQUIRED) | ||
2 | include_directories(${USB_INCLUDE_DIRS}) | ||
3 | include_directories(${OPT_INCLUDES}) | ||
4 | set(LIBS ${LIBS} ${USB_LIBRARIES} ${OPT_LIBS}) | ||
5 | if(HAVE_PLIST) | ||
6 | add_definitions("-DHAVE_PLIST") | ||
7 | message("-- usbmuxd will be built with protocol version 1 support") | ||
8 | endif() | ||
9 | include_directories (${CMAKE_SOURCE_DIR}/common) | ||
10 | include_directories (${CMAKE_SOURCE_DIR}/daemon) | ||
11 | include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd) | ||
12 | |||
13 | add_definitions(-DUSBMUXD_DAEMON -DUSBMUXD_VERSION="${USBMUXD_VERSION}") | ||
14 | add_executable(usbmuxd main.c usb-linux.c log.c ${CMAKE_SOURCE_DIR}/common/utils.c device.c client.c) | ||
15 | target_link_libraries(usbmuxd ${LIBS}) | ||
16 | |||
17 | install(TARGETS usbmuxd RUNTIME DESTINATION sbin) | ||
18 | |||
19 | message(" | ||
20 | * REMINDER | ||
21 | * Remember to add a user named 'usbmux' with USB access permissions | ||
22 | * for the udev hotplugging feature to work out of the box. | ||
23 | ") | ||