summaryrefslogtreecommitdiffstats
path: root/libusbmuxd
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 /libusbmuxd
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 'libusbmuxd')
-rw-r--r--libusbmuxd/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libusbmuxd/CMakeLists.txt b/libusbmuxd/CMakeLists.txt
index c8f2cb4..81203d3 100644
--- a/libusbmuxd/CMakeLists.txt
+++ b/libusbmuxd/CMakeLists.txt
@@ -11,6 +11,7 @@ endif()
11if(WIN32) 11if(WIN32)
12 set(OPT_LIBS ${OPT_LIBS} ws2_32) 12 set(OPT_LIBS ${OPT_LIBS} ws2_32)
13endif() 13endif()
14include_directories(${OPT_INCLUDES})
14target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS}) 15target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS})
15 16
16# 'lib' is a UNIXism, the proper CMake target is usbmuxd 17# 'lib' is a UNIXism, the proper CMake target is usbmuxd