summaryrefslogtreecommitdiffstats
path: root/daemon/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar John Maguire2010-09-19 15:55:31 +0200
committerGravatar Hector Martin2010-09-19 15:55:31 +0200
commitbbaa8380a2af9130075f907033283761bfe56b5c (patch)
tree4474448b9b074e4e82e42c09fae5de6c887f1abe /daemon/CMakeLists.txt
parentf8a406e4f4b2627baf37cb2c20e327bc5e62ca87 (diff)
downloadusbmuxd-bbaa8380a2af9130075f907033283761bfe56b5c.tar.gz
usbmuxd-bbaa8380a2af9130075f907033283761bfe56b5c.tar.bz2
Fixes for building libusbmuxd on OS X
Adds include_directories(${OPT_INCLUDES}) for when libplist isn't in the default include directories. Uses /bin/echo instead of sh's echo as "echo -n" does not work on OS X's sh.
Diffstat (limited to 'daemon/CMakeLists.txt')
-rw-r--r--daemon/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt
index 103a8fe..c323f7b 100644
--- a/daemon/CMakeLists.txt
+++ b/daemon/CMakeLists.txt
@@ -1,5 +1,6 @@
find_package(USB REQUIRED)
include_directories(${USB_INCLUDE_DIRS})
+include_directories(${OPT_INCLUDES})
set(LIBS ${LIBS} ${USB_LIBRARIES} ${OPT_LIBS})
if(HAVE_PLIST)
add_definitions("-DHAVE_PLIST")