mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-23 03:49:23 +00:00
Fixed static build
This commit is contained in:
parent
a83edceae3
commit
634039e551
1 changed files with 4 additions and 0 deletions
|
@ -226,6 +226,10 @@ if (STATIC_BINARY OR STATIC_LIBS)
|
||||||
set(STATIC_LIBS randomx)
|
set(STATIC_LIBS randomx)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (WITH_UPNP)
|
||||||
|
set(STATIC_LIBS ${STATIC_LIBS} libminiupnpc-static)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(STATIC_LIBS ${STATIC_LIBS} ws2_32 iphlpapi userenv psapi wldap32)
|
set(STATIC_LIBS ${STATIC_LIBS} ws2_32 iphlpapi userenv psapi wldap32)
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
||||||
|
|
Loading…
Reference in a new issue