diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ded8510..283fd96e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -735,7 +735,7 @@ if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL) 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") + string(APPEND MINIZIP_CONFIG_CONTENT "find_dependency(${pkg_name})\n") endforeach() endif() string(APPEND MINIZIP_CONFIG_CONTENT "include(\"\${CMAKE_CURRENT_LIST_DIR}/${MINIZIP_TARGET}.cmake\")")