Commit b66f482 for zlib
commit b66f482d6570c38c34c3ab6c1b2743325db8e9af
Author: Vollstrecker <werner@vollstreckernet.de>
Date: Wed May 6 13:32:13 2026 +0200
CMake: Fix minizip config.
diff --git a/contrib/minizip/minizipConfig.cmake.in b/contrib/minizip/minizipConfig.cmake.in
index 0c8254d..71bed1d 100644
--- a/contrib/minizip/minizipConfig.cmake.in
+++ b/contrib/minizip/minizipConfig.cmake.in
@@ -2,9 +2,9 @@ set(_MINIZIP_supported_components "shared" "static")
include(CMakeFindDependencyMacro)
set(minizip_HAS_BZIP2
- @MINIZIP_ENABLE_BZIP2@
+ "@MINIZIP_ENABLE_BZIP2@"
CACHE
- Bool
+ BOOL
"Indicates if minizip was compiled with bzip2 support")
if(minizip_HAS_BZIP2)
@@ -44,12 +44,12 @@ else(minizip_FIND_COMPONENTS)
set(minizip_NOT_FOUND_MESSAGE "Target ZLIB::ZLIB not created\n")
string(APPEND minizip_NOT_FOUND_MESSAGE "build minizip with support for shared libs or\n")
string(APPEND minizip_NOT_FOUND_MESSAGE "specify COMPONENTS static in your find_package call")
- endif(NOT TARGET ZLIB::ZLIB)
+ endif(NOT TARGET MINIZIP::minizip)
if(NOT TARGET MINIZIP::minizipstatic)
set(minizip_FOUND False)
set(minizip_NOT_FOUND_MESSAGE "Target ZLIB::ZLIBSTATIC not created\n")
string(APPEND minizip_NOT_FOUND_MESSAGE "build minizip with support for static libs or\n")
string(APPEND minizip_NOT_FOUND_MESSAGE "specify COMPONENTS shared in your find_package call")
- endif(NOT TARGET ZLIB::ZLIBSTATIC)
+ endif(NOT TARGET MINIZIP::minizipstatic)
endif(minizip_FIND_COMPONENTS)