mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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.
This commit is contained in:
@ -564,7 +564,7 @@ if(USE_UPNP)
|
|||||||
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT ANDROID)
|
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT ANDROID)
|
||||||
include(FindMiniupnpc)
|
include(FindMiniupnpc)
|
||||||
endif()
|
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")
|
message("Using shared miniupnpc")
|
||||||
include_directories(${MINIUPNP_INCLUDE_DIR})
|
include_directories(${MINIUPNP_INCLUDE_DIR})
|
||||||
else()
|
else()
|
||||||
|
Reference in New Issue
Block a user