diff options
author | Nikias Bassen | 2010-05-26 20:30:02 +0200 |
---|---|---|
committer | Nikias Bassen | 2010-05-26 20:30:02 +0200 |
commit | 0833499c76f78da21fc33874a485946189a33dad (patch) | |
tree | 3406bc2729986945020748d176d492c6c4a4628a /libusbmuxd/CMakeLists.txt | |
parent | 6cb505257ff848aa7ead80b60b575effc3a915fa (diff) | |
download | usbmuxd-0833499c76f78da21fc33874a485946189a33dad.tar.gz usbmuxd-0833499c76f78da21fc33874a485946189a33dad.tar.bz2 |
libusbmuxd: use winsock API for win32
Diffstat (limited to 'libusbmuxd/CMakeLists.txt')
-rw-r--r-- | libusbmuxd/CMakeLists.txt | 3 |
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) if (HAVE_PLIST) message("-- libusbmuxd will be built with protocol version 1 support") endif() +if(WIN32) + set(OPT_LIBS ${OPT_LIBS} ws2_32) +endif() target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS}) # 'lib' is a UNIXism, the proper CMake target is usbmuxd |