mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 17:48:52 +00:00
fixed UPNP_LIBRARIES scope
This commit is contained in:
parent
a40d5c1847
commit
b35c1e2491
8
external/CMakeLists.txt
vendored
8
external/CMakeLists.txt
vendored
@ -200,7 +200,11 @@ IF(MINIUPNPC_VERSION_PRE1_7)
|
|||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF(NOT MINIUPNPC_VERSION_PRE1_5 AND NOT MINIUPNPC_VERSION_PRE1_6 AND NOT MINIUPNPC_VERSION_PRE1_7)
|
IF(NOT MINIUPNPC_VERSION_PRE1_5 AND NOT MINIUPNPC_VERSION_PRE1_6 AND NOT MINIUPNPC_VERSION_PRE1_7)
|
||||||
message(STATUS "Found miniupnpc version is v1.7 or higher")
|
IF(MINIUPNPC_VERSION_1_5_OR_HIGHER)
|
||||||
|
message(STATUS "Found miniupnpc version is v1.5 or higher")
|
||||||
|
ELSE()
|
||||||
|
message(STATUS "Found miniupnpc version is v1.7 or higher")
|
||||||
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
else ()
|
else ()
|
||||||
@ -234,5 +238,5 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(UPNP_STATIC true PARENT_SCOPE)
|
set(UPNP_STATIC true PARENT_SCOPE)
|
||||||
set(UPNP_LIBRARIES "upnpc-static")
|
set(UPNP_LIBRARIES "upnpc-static" PARENT_SCOPE)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user