Skip to content

Commit

Permalink
[CMake] Fix typo in FindMiniupnp.cmake
Browse files Browse the repository at this point in the history
Fixes a CMake warning regarding package naming mismatch. No functional
change.
  • Loading branch information
Fuzzbawls committed Nov 2, 2024
1 parent 67d2db1 commit dc133c8
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 dc133c8

Please sign in to comment.