Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMake] Fix typo in FindMiniupnp.cmake #2944

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading