diff options
Diffstat (limited to 'libusbmuxd/CMakeLists.txt')
| -rw-r--r-- | libusbmuxd/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libusbmuxd/CMakeLists.txt b/libusbmuxd/CMakeLists.txt index d275169..236cca3 100644 --- a/libusbmuxd/CMakeLists.txt +++ b/libusbmuxd/CMakeLists.txt | |||
| @@ -3,7 +3,11 @@ find_package(Threads) | |||
| 3 | 3 | ||
| 4 | add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ${CMAKE_SOURCE_DIR}/common/utils.c) | 4 | add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ${CMAKE_SOURCE_DIR}/common/utils.c) |
| 5 | find_library (PTHREAD pthread) | 5 | find_library (PTHREAD pthread) |
| 6 | target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT}) | 6 | |
| 7 | if (HAVE_PLIST) | ||
| 8 | message("-- libusbmuxd will be built with protocol version 1 support") | ||
| 9 | endif() | ||
| 10 | target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS}) | ||
| 7 | 11 | ||
| 8 | # 'lib' is a UNIXism, the proper CMake target is usbmuxd | 12 | # 'lib' is a UNIXism, the proper CMake target is usbmuxd |
| 9 | # But we can't use that due to the conflict with the usbmuxd daemon, | 13 | # But we can't use that due to the conflict with the usbmuxd daemon, |
