summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xModules/describe.sh6
-rw-r--r--daemon/CMakeLists.txt1
-rw-r--r--libusbmuxd/CMakeLists.txt1
3 files changed, 5 insertions, 3 deletions
diff --git a/Modules/describe.sh b/Modules/describe.sh
index 91730b8..6425ed5 100755
--- a/Modules/describe.sh
+++ b/Modules/describe.sh
@@ -2,15 +2,15 @@
# Check for git and a git repo.
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
- echo -n `git describe`
+ /bin/echo -n `git describe`
# Are there uncommitted changes?
git update-index --refresh --unmerged > /dev/null
- git diff-index --quiet HEAD || echo -n -dirty
+ git diff-index --quiet HEAD || /bin/echo -n -dirty
else
# Check for version tag
if [ -e version.tag ]; then
- echo -n `cat version.tag`
+ /bin/echo -n `cat version.tag`
fi
fi
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")
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()
if(WIN32)
set(OPT_LIBS ${OPT_LIBS} ws2_32)
endif()
+include_directories(${OPT_INCLUDES})
target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS})
# 'lib' is a UNIXism, the proper CMake target is usbmuxd