Skip to content

Commit dc133c8

Browse files
committed
[CMake] Fix typo in FindMiniupnp.cmake
Fixes a CMake warning regarding package naming mismatch. No functional change.
1 parent 67d2db1 commit dc133c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/cmake/FindMiniupnp.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ endif()
2020

2121
include(FindPackageHandleStandardArgs)
2222
find_package_handle_standard_args(
23-
Miniupnpc DEFAULT_MSG
23+
Miniupnp DEFAULT_MSG
2424
MINIUPNP_INCLUDE_DIR
2525
MINIUPNP_LIBRARY
2626
)
@@ -31,11 +31,11 @@ if(MINIUPNP_FOUND)
3131
set(MINIUPNPC_API_VERSION "${CMAKE_MATCH_1}")
3232
if (${MINIUPNPC_API_VERSION} GREATER "10" OR ${MINIUPNPC_API_VERSION} EQUAL "10")
3333
if(NOT Miniupnp_FIND_QUIETLY)
34-
message(STATUS "Found Miniupnpc API version " ${MINIUPNPC_API_VERSION})
34+
message(STATUS "Found Miniupnp API version " ${MINIUPNPC_API_VERSION})
3535
endif()
3636
set(MINIUPNP_FOUND true)
3737
else()
38-
message(FATAL_ERROR "Unsupported Miniupnpc version!")
38+
message(FATAL_ERROR "Unsupported Miniupnp version!")
3939
endif()
4040
endif()
4141
else()

0 commit comments

Comments
 (0)