mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-26 23:27:56 +00:00
fix for miniupnpc static compile under Windows
This commit is contained in:
parent
e5ac88819a
commit
fce9dea1b9
1 changed files with 4 additions and 2 deletions
6
external/miniupnpc/CMakeLists.txt
vendored
6
external/miniupnpc/CMakeLists.txt
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue