summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorGravatar Hector Martin2010-02-07 01:59:03 +0100
committerGravatar Hector Martin2010-02-07 02:00:31 +0100
commitc9db7c05573bee6e819ae76095e0d80f5fe02dd4 (patch)
tree2ee4c78140ca4ac53e7aaf1fd760979338c79df9 /daemon
parent003e72659b579e4376d099767f2e757e80d8f2a4 (diff)
downloadusbmuxd-c9db7c05573bee6e819ae76095e0d80f5fe02dd4.tar.gz
usbmuxd-c9db7c05573bee6e819ae76095e0d80f5fe02dd4.tar.bz2
Clean up CMakeLists (inspired by Gentoo patch)
Diffstat (limited to 'daemon')
-rw-r--r--daemon/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt
index 1ba052c..6593deb 100644
--- a/daemon/CMakeLists.txt
+++ b/daemon/CMakeLists.txt
@@ -6,9 +6,8 @@ include_directories (${CMAKE_SOURCE_DIR}/common)
include_directories (${CMAKE_SOURCE_DIR}/daemon)
include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd)
-add_definitions(-O2 -g)
add_definitions(-DUSBMUXD_DAEMON -DUSBMUXD_VERSION="${USBMUXD_VERSION}")
-add_executable(usbmuxd main.c usb-linux.c log.c ../common/utils.c device.c client.c)
+add_executable(usbmuxd main.c usb-linux.c log.c ${CMAKE_SOURCE_DIR}/common/utils.c device.c client.c)
target_link_libraries(usbmuxd ${LIBS})
install(TARGETS usbmuxd RUNTIME DESTINATION sbin)