aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-07 22:53:39 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-07 22:53:39 +0200
commit86226754a97e0454d673ca51d02bc9fe168582ca (patch)
treee3a896d678110c2858eba0482712ac9e5650c940
parentbff9fb9c8b03d4b7191cdac48d3fe9e644a1ec4b (diff)
parent49ffb156f0c21f5d4a06ed9cb3f6ee3a39926dfd (diff)
downloadmonzero-core-86226754a97e0454d673ca51d02bc9fe168582ca.tar.gz
monzero-core-86226754a97e0454d673ca51d02bc9fe168582ca.tar.xz
monzero-core-86226754a97e0454d673ca51d02bc9fe168582ca.zip
Merge pull request #2263
49ffb156 cmake: do not use GREATER_EQUAL, it's too new (moneromooo-monero)
-rw-r--r--cmake/FindMiniupnpc.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindMiniupnpc.cmake b/cmake/FindMiniupnpc.cmake
index 9fad295e8..77675db48 100644
--- a/cmake/FindMiniupnpc.cmake
+++ b/cmake/FindMiniupnpc.cmake
@@ -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)