aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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})