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:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user