mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Do not use REQUIRED with find_dependency
This commit is contained in:
parent
9aeff7bc29
commit
95fdb49672
@ -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\")")
|
||||
|
Loading…
x
Reference in New Issue
Block a user