aboutsummaryrefslogtreecommitdiff
path: root/external/miniupnpc
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-05 20:22:14 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-05 20:22:14 +0200
commitfce9dea1b9be05d031c332fcbb30288a83ff8eae (patch)
tree61af77ba7ede6bba641864ea570d13867400539a /external/miniupnpc
parentadded other skipped commit (diff)
downloadmonero-fce9dea1b9be05d031c332fcbb30288a83ff8eae.tar.xz
fix for miniupnpc static compile under Windows
Diffstat (limited to 'external/miniupnpc')
-rw-r--r--external/miniupnpc/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/external/miniupnpc/CMakeLists.txt b/external/miniupnpc/CMakeLists.txt
index 4631725ec..5e4a90bbf 100644
--- a/external/miniupnpc/CMakeLists.txt
+++ b/external/miniupnpc/CMakeLists.txt
@@ -92,8 +92,10 @@ if (WIN32)
endif (WIN32)
if (WIN32)
- find_library (WINSOCK2_LIBRARY NAMES ws2_32 WS2_32 Ws2_32)
- find_library (IPHLPAPI_LIBRARY NAMES iphlpapi)
+# find_library (WINSOCK2_LIBRARY NAMES ws2_32 WS2_32 Ws2_32)
+# find_library (IPHLPAPI_LIBRARY NAMES iphlpapi)
+ set(WINSOCK2_LIBRARY ws2_32)
+ set(IPHLPAPI_LIBRARY iphlpapi)
set (LDLIBS ${WINSOCK2_LIBRARY} ${IPHLPAPI_LIBRARY} ${LDLIBS})
#elseif (CMAKE_SYSTEM_NAME STREQUAL "Solaris")
# find_library (SOCKET_LIBRARY NAMES socket)