Skip to content

Commit

Permalink
CMake: Fix miniupnp finder naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzbawls committed Oct 2, 2024
1 parent 69f28e0 commit 8288f71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/cmake/FindMiniupnp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endif()

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
Miniupnpc DEFAULT_MSG
Miniupnp DEFAULT_MSG
MINIUPNP_INCLUDE_DIR
MINIUPNP_LIBRARY
)
Expand All @@ -31,11 +31,11 @@ if(MINIUPNP_FOUND)
set(MINIUPNPC_API_VERSION "${CMAKE_MATCH_1}")
if (${MINIUPNPC_API_VERSION} GREATER "10" OR ${MINIUPNPC_API_VERSION} EQUAL "10")
if(NOT Miniupnp_FIND_QUIETLY)
message(STATUS "Found Miniupnpc API version " ${MINIUPNPC_API_VERSION})
message(STATUS "Found Miniupnp API version " ${MINIUPNPC_API_VERSION})
endif()
set(MINIUPNP_FOUND true)
else()
message(FATAL_ERROR "Unsupported Miniupnpc version!")
message(FATAL_ERROR "Unsupported Miniupnp version!")
endif()
endif()
else()
Expand Down

0 comments on commit 8288f71

Please sign in to comment.