mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #2263
49ffb156
cmake: do not use GREATER_EQUAL, it's too new (moneromooo-monero)
This commit is contained in:
commit
86226754a9
@ -48,7 +48,7 @@ IF(MINIUPNPC_FOUND)
|
||||
set(MINIUPNPC_API_VERSION "${CMAKE_MATCH_1}")
|
||||
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})
|
||||
set(MINIUPNP_FOUND true)
|
||||
set(MINIUPNPC_VERSION_1_7_OR_HIGHER true)
|
||||
|
Loading…
Reference in New Issue
Block a user