summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libusbmuxd/CMakeLists.txt')
-rw-r--r--libusbmuxd/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/libusbmuxd/CMakeLists.txt b/libusbmuxd/CMakeLists.txt
index 236cca3..0d7d897 100644
--- a/libusbmuxd/CMakeLists.txt
+++ b/libusbmuxd/CMakeLists.txt
@@ -7,6 +7,9 @@ find_library (PTHREAD pthread)
7if (HAVE_PLIST) 7if (HAVE_PLIST)
8 message("-- libusbmuxd will be built with protocol version 1 support") 8 message("-- libusbmuxd will be built with protocol version 1 support")
9endif() 9endif()
10if(WIN32)
11 set(OPT_LIBS ${OPT_LIBS} ws2_32)
12endif()
10target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS}) 13target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS})
11 14
12# 'lib' is a UNIXism, the proper CMake target is usbmuxd 15# 'lib' is a UNIXism, the proper CMake target is usbmuxd