Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
When cmake checks for miniupnpc use the MINIUPNPC_VERSION_1_7_OR_HIGH…
…ER variable instead of MINIUPNPC_VERSION_PRE1_7. This should fix issue 6422.
  • Loading branch information
glennricster committed Jul 15, 2013
1 parent f4e5f21 commit b2950ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit b2950ad

Please sign in to comment.