Skip to content

Commit

Permalink
Merge #2944: [CMake] Fix typo in FindMiniupnp.cmake
Browse files Browse the repository at this point in the history
dc133c8 [CMake] Fix typo in FindMiniupnp.cmake (Fuzzbawls)

Pull request description:

  Fixes a CMake warning regarding package naming mismatch. No functional change.

ACKs for top commit: dc133c8
  panleone:
    utACK dc133c8
  Duddino:
    utACK dc133c8
  Liquid369:
    tACK dc133c8

Tree-SHA512: c740c21aaa3c8fff625aa09791ff91fbdb39ae307dc025d488259ab76617ad7055156a892330a74a6916c12647cc70f5c5ff6895247b28abb0a1b3c94a6ca2bb
  • Loading branch information
Fuzzbawls committed Nov 13, 2024
2 parents a34f0d3 + dc133c8 commit a8fae51
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 a8fae51

Please sign in to comment.