From 1ddb23dfc09ae4c8fb24824a95a3d145c9e1de1a Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Fri, 7 Jun 2024 19:48:03 -0700 Subject: [PATCH] Clean up casing in CMake. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 852713b..550af45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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\")")