@PACKAGE_INIT@ set(_PTLIBZIPPY_supported_components "shared" "static") if(PTlibzippy_FIND_COMPONENTS) foreach(_comp ${PTlibzippy_FIND_COMPONENTS}) if(NOT _comp IN_LIST _PTLIBZIPPY_supported_components) set(PTlibzippy_FOUND False) set(PTlibzippy_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}") endif(NOT _comp IN_LIST _PTLIBZIPPY_supported_components) include("${CMAKE_CURRENT_LIST_DIR}/PTlibzippy-${_comp}.cmake") endforeach(_comp ${PTlibzippy_FIND_COMPONENTS}) else(PTlibzippy_FIND_COMPONENTS) foreach(_component_config IN LISTS _PTLIBZIPPY_supported_components) set(_component_file "${CMAKE_CURRENT_LIST_DIR}/PTlibzippy-${_component_config}.cmake") if(NOT EXISTS "${_component_file}") set(PTlibzippy_FOUND False) set(PTlibzippy_NOT_FOUND_MESSAGE "PTlibzippy component '${_component_config}' is not installed. " "Request COMPONENTS explicitly when only a subset is available.") return() endif() include("${_component_file}") endforeach(_component_config IN LISTS _PTLIBZIPPY_supported_components) endif(PTlibzippy_FIND_COMPONENTS)