mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-25 08:52:26 +00:00
cmake: do not use GREATER_EQUAL, it's too new
This commit is contained in:
parent
62610a3a53
commit
49ffb156f0
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ IF(MINIUPNPC_FOUND)
|
||||||
set(MINIUPNPC_API_VERSION "${CMAKE_MATCH_1}")
|
set(MINIUPNPC_API_VERSION "${CMAKE_MATCH_1}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (${MINIUPNPC_API_VERSION} GREATER_EQUAL "10")
|
if (${MINIUPNPC_API_VERSION} GREATER "10" OR ${MINIUPNPC_API_VERSION} EQUAL "10")
|
||||||
message(STATUS "Found miniupnpc API version " ${MINIUPNPC_API_VERSION})
|
message(STATUS "Found miniupnpc API version " ${MINIUPNPC_API_VERSION})
|
||||||
set(MINIUPNP_FOUND true)
|
set(MINIUPNP_FOUND true)
|
||||||
set(MINIUPNPC_VERSION_1_7_OR_HIGHER true)
|
set(MINIUPNPC_VERSION_1_7_OR_HIGHER true)
|
||||||
|
|
Loading…
Reference in a new issue