aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVollstrecker <werner@vollstreckernet.de>2025-12-24 14:16:44 +0100
committerMark Adler <git@madler.net>2026-01-31 20:10:58 -0800
commit88c13334882d3a3007ff5f5e708e216bc9c4b155 (patch)
tree711b4d33ae3a06765ee0a5350cbef24601ddc344
parent9eadab425834142aed28c51129681ed31a09577d (diff)
downloadzlib-88c13334882d3a3007ff5f5e708e216bc9c4b155.tar.gz
zlib-88c13334882d3a3007ff5f5e708e216bc9c4b155.tar.bz2
zlib-88c13334882d3a3007ff5f5e708e216bc9c4b155.zip
CMake: Use a normal components search for zlib.
-rw-r--r--zlibConfig.cmake.in10
1 files changed, 1 insertions, 9 deletions
diff --git a/zlibConfig.cmake.in b/zlibConfig.cmake.in
index 713cac45..8252ab34 100644
--- a/zlibConfig.cmake.in
+++ b/zlibConfig.cmake.in
@@ -1,14 +1,6 @@
1@PACKAGE_INIT@ 1@PACKAGE_INIT@
2 2
3set(_ZLIB_supported_components "") 3set(_ZLIB_supported_components "shared" "static")
4
5if(@ZLIB_BUILD_SHARED@)
6 list(APPEND _ZLIB_supported_components shared)
7endif(@ZLIB_BUILD_SHARED@)
8
9if(@ZLIB_BUILD_STATIC@)
10 list(APPEND _ZLIB_supported_components static)
11endif(@ZLIB_BUILD_STATIC@)
12 4
13if(ZLIB_FIND_COMPONENTS) 5if(ZLIB_FIND_COMPONENTS)
14 foreach(_comp ${ZLIB_FIND_COMPONENTS}) 6 foreach(_comp ${ZLIB_FIND_COMPONENTS})