Clean up casing in CMake.

This commit is contained in:
Nathan Moinvaziri 2024-06-07 19:48:03 -07:00
parent a64aa8bb4b
commit 1ddb23dfc0

View File

@ -738,8 +738,8 @@ if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
set(MINIZIP_CONFIG_CONTENT "@PACKAGE_INIT@\n")
if(MINIZIP_DEP_PKG)
string(APPEND MINIZIP_CONFIG_CONTENT "include(CMakeFindDependencyMacro)\n")
foreach(PKG_NAME ${MINIZIP_DEP_PKG})
string(APPEND MINIZIP_CONFIG_CONTENT "find_dependency(${PKG_NAME} REQUIRED)\n")
foreach(pkg_name ${MINIZIP_DEP_PKG})
string(APPEND MINIZIP_CONFIG_CONTENT "find_dependency(${pkg_name} REQUIRED)\n")
endforeach()
endif()
string(APPEND MINIZIP_CONFIG_CONTENT "include(\"\${CMAKE_CURRENT_LIST_DIR}/${MINIZIP_TARGET}.cmake\")")