diff options
| -rwxr-xr-x | Modules/describe.sh | 6 | ||||
| -rw-r--r-- | daemon/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | libusbmuxd/CMakeLists.txt | 1 |
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. |
| 4 | if head=`git rev-parse --verify HEAD 2>/dev/null`; then | 4 | if 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 |
| 10 | else | 10 | else |
| 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 |
| 15 | fi | 15 | fi |
| 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 @@ | |||
| 1 | find_package(USB REQUIRED) | 1 | find_package(USB REQUIRED) |
| 2 | include_directories(${USB_INCLUDE_DIRS}) | 2 | include_directories(${USB_INCLUDE_DIRS}) |
| 3 | include_directories(${OPT_INCLUDES}) | ||
| 3 | set(LIBS ${LIBS} ${USB_LIBRARIES} ${OPT_LIBS}) | 4 | set(LIBS ${LIBS} ${USB_LIBRARIES} ${OPT_LIBS}) |
| 4 | if(HAVE_PLIST) | 5 | if(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() | |||
| 11 | if(WIN32) | 11 | if(WIN32) |
| 12 | set(OPT_LIBS ${OPT_LIBS} ws2_32) | 12 | set(OPT_LIBS ${OPT_LIBS} ws2_32) |
| 13 | endif() | 13 | endif() |
| 14 | include_directories(${OPT_INCLUDES}) | ||
| 14 | target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS}) | 15 | target_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 |
