From 49ffb156f0c21f5d4a06ed9cb3f6ee3a39926dfd Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 7 Aug 2017 21:37:13 +0100 Subject: [PATCH] cmake: do not use GREATER_EQUAL, it's too new --- cmake/FindMiniupnpc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindMiniupnpc.cmake b/cmake/FindMiniupnpc.cmake index 9fad295e..77675db4 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)