summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)