From b2950adc520c87fc4effb8992c8449a8f9f91f29 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Mon, 15 Jul 2013 09:20:43 -0500 Subject: [PATCH] When cmake checks for miniupnpc use the MINIUPNPC_VERSION_1_7_OR_HIGHER variable instead of MINIUPNPC_VERSION_PRE1_7. This should fix issue 6422. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd05dcf32a..959f28e24b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -564,7 +564,7 @@ if(USE_UPNP) if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT ANDROID) include(FindMiniupnpc) endif() - if(MINIUPNP_FOUND AND NOT MINIUPNPC_VERSION_PRE1_7) + if(MINIUPNP_FOUND AND NOT MINIUPNPC_VERSION_1_7_OR_HIGHER) message("Using shared miniupnpc") include_directories(${MINIUPNP_INCLUDE_DIR}) else()