diff options
Diffstat (limited to 'tools/CMakeLists.txt')
| -rw-r--r-- | tools/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 08ea714..64d0d0e 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt | |||
| @@ -2,6 +2,10 @@ include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd) | |||
| 2 | link_directories (${CMAKE_BINARY_DIR}/libusbmuxd) | 2 | link_directories (${CMAKE_BINARY_DIR}/libusbmuxd) |
| 3 | 3 | ||
| 4 | add_executable(iproxy iproxy.c) | 4 | add_executable(iproxy iproxy.c) |
| 5 | target_link_libraries(iproxy libusbmuxd pthread) | 5 | if(WIN32) |
| 6 | target_link_libraries(iproxy libusbmuxd pthread ws2_32) | ||
| 7 | else() | ||
| 8 | target_link_libraries(iproxy libusbmuxd pthread) | ||
| 9 | endif() | ||
| 6 | 10 | ||
| 7 | install(TARGETS iproxy RUNTIME DESTINATION bin) | 11 | install(TARGETS iproxy RUNTIME DESTINATION bin) |
