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 @@
2 2
3# Check for git and a git repo. 3# Check for git and a git repo.
4if head=`git rev-parse --verify HEAD 2>/dev/null`; then 4if head=`git rev-parse --verify HEAD 2>/dev/null`; then
5 echo -n `git describe` 5 /bin/echo -n `git describe`
6 6
7 # Are there uncommitted changes? 7 # Are there uncommitted changes?
8 git update-index --refresh --unmerged > /dev/null 8 git update-index --refresh --unmerged > /dev/null
9 git diff-index --quiet HEAD || echo -n -dirty 9 git diff-index --quiet HEAD || /bin/echo -n -dirty
10else 10else
11# Check for version tag 11# Check for version tag
12 if [ -e version.tag ]; then 12 if [ -e version.tag ]; then
13 echo -n `cat version.tag` 13 /bin/echo -n `cat version.tag`
14 fi 14 fi
15fi 15fi
16 16
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 @@
1find_package(USB REQUIRED) 1find_package(USB REQUIRED)
2include_directories(${USB_INCLUDE_DIRS}) 2include_directories(${USB_INCLUDE_DIRS})
3include_directories(${OPT_INCLUDES})
3set(LIBS ${LIBS} ${USB_LIBRARIES} ${OPT_LIBS}) 4set(LIBS ${LIBS} ${USB_LIBRARIES} ${OPT_LIBS})
4if(HAVE_PLIST) 5if(HAVE_PLIST)
5 add_definitions("-DHAVE_PLIST") 6 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()
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