diff options
author | Nikias Bassen | 2010-05-24 17:47:36 +0200 |
---|---|---|
committer | Nikias Bassen | 2010-05-26 01:39:28 +0200 |
commit | 3e7f2cd0d7ef6c0c7d91b63f65567a729f123ba2 (patch) | |
tree | 8bcdc533807e27086c4af6940d17c3bc84f7d881 | |
parent | 91b0719dc73e47c32a9fa4e3c0e6068901c546d0 (diff) | |
download | usbmuxd-3e7f2cd0d7ef6c0c7d91b63f65567a729f123ba2.tar.gz usbmuxd-3e7f2cd0d7ef6c0c7d91b63f65567a729f123ba2.tar.bz2 |
Refuse to build usbmuxd on win32 as libusb-1.0 is not available
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dddfd2..5f0a6a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,13 @@ if(CMAKE_C_FLAGS STREQUAL "") endif() option(WITH_USBMUXD "Build usbmux daemon (usbmuxd)" ON) +if(WIN32 AND WITH_USBMUXD) + message("** NOTE: usbmuxd cannot be built on WIN32 due to missing libusb-1.0 support!") + message(" If you need your own usbmuxd you have to use usbmuxd-legacy which works") + message(" with libusb-0.1; otherwise just use the one that ships with iTunes.") + message(" Building of usbmuxd has been disabled.") + set(WITH_USBMUXD OFF) +endif() if(WITH_USBMUXD) message("-- Will build usbmuxd: YES") else() |