summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hector Martin2010-06-12 10:36:31 +0200
committerGravatar Hector Martin2010-06-12 10:36:48 +0200
commit4a188de4bb6fdcd1f2f6fe523360e6c31e84e064 (patch)
tree52d8a94731d952dc7d39e652d488ac2639d4ab9e
parent6eef4b8c6263af1938ea52bc6e3c6976678225ff (diff)
downloadusbmuxd-4a188de4bb6fdcd1f2f6fe523360e6c31e84e064.tar.gz
usbmuxd-4a188de4bb6fdcd1f2f6fe523360e6c31e84e064.tar.bz2
Actually enable the new protocol
-rw-r--r--daemon/CMakeLists.txt1
-rw-r--r--libusbmuxd/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt
index 48ff0c6..103a8fe 100644
--- a/daemon/CMakeLists.txt
+++ b/daemon/CMakeLists.txt
@@ -2,6 +2,7 @@ find_package(USB REQUIRED)
include_directories(${USB_INCLUDE_DIRS})
set(LIBS ${LIBS} ${USB_LIBRARIES} ${OPT_LIBS})
if(HAVE_PLIST)
+ add_definitions("-DHAVE_PLIST")
message("-- usbmuxd will be built with protocol version 1 support")
endif()
include_directories (${CMAKE_SOURCE_DIR}/common)
diff --git a/libusbmuxd/CMakeLists.txt b/libusbmuxd/CMakeLists.txt
index 0d7d897..6bded04 100644
--- a/libusbmuxd/CMakeLists.txt
+++ b/libusbmuxd/CMakeLists.txt
@@ -5,6 +5,7 @@ add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ${CMAKE_SOURCE_DIR}/com
find_library (PTHREAD pthread)
if (HAVE_PLIST)
+ add_definitions("-DHAVE_PLIST")
message("-- libusbmuxd will be built with protocol version 1 support")
endif()
if(WIN32)