diff options
| author | 2010-05-26 20:30:02 +0200 | |
|---|---|---|
| committer | 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) | |||
| 7 | if (HAVE_PLIST) | 7 | if (HAVE_PLIST) |
| 8 | message("-- libusbmuxd will be built with protocol version 1 support") | 8 | message("-- libusbmuxd will be built with protocol version 1 support") |
| 9 | endif() | 9 | endif() |
| 10 | if(WIN32) | ||
| 11 | set(OPT_LIBS ${OPT_LIBS} ws2_32) | ||
| 12 | endif() | ||
| 10 | target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT} ${OPT_LIBS}) | 13 | target_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 |
