Skip to content
Tcl Source Code Artifact [b89b7ed5ef]
Login

Artifact [b89b7ed5ef]

Artifact b89b7ed5ef310d599e24999b472d065cb911bfc0ae553d050110a517e6e49057:


@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@)

if(ZLIB_FIND_COMPONENTS)
    foreach(_comp ${ZLIB_FIND_COMPONENTS})
        if(NOT _comp IN_LIST _ZLIB_supported_components)
            set(ZLIB_FOUND False)
            set(ZLIB_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}")
        endif(NOT _comp IN_LIST _ZLIB_supported_components)

        include("${CMAKE_CURRENT_LIST_DIR}/ZLIB-${_comp}.cmake")
    endforeach(_comp ${ZLIB_FIND_COMPONENTS})
else(ZLIB_FIND_COMPONENTS)
    foreach(_component_config IN LISTS _ZLIB_supported_components)
        include("${CMAKE_CURRENT_LIST_DIR}/ZLIB-${_component_config}.cmake")
    endforeach(_component_config IN LISTS _ZLIB_supported_components)
endif(ZLIB_FIND_COMPONENTS)