1
0
mirror of https://github.com/madler/zlib.git synced 2026-10-24 02:48:53 +03:00

CMake: Use a normal components search for zlib.

This commit is contained in:
Vollstrecker
2025-12-24 14:16:44 +01:00
committed by Mark Adler
parent 9eadab4258
commit 88c1333488

View File

@@ -1,14 +1,6 @@
@PACKAGE_INIT@
set(_ZLIB_supported_components "")
if(@ZLIB_BUILD_SHARED@)
list(APPEND _ZLIB_supported_components shared)
endif(@ZLIB_BUILD_SHARED@)
if(@ZLIB_BUILD_STATIC@)
list(APPEND _ZLIB_supported_components static)
endif(@ZLIB_BUILD_STATIC@)
set(_ZLIB_supported_components "shared" "static")
if(ZLIB_FIND_COMPONENTS)
foreach(_comp ${ZLIB_FIND_COMPONENTS})