1 1.1 christos @PACKAGE_INIT@ 2 1.1 christos 3 1.1 christos set(_iostreamv3_supported_components "shared" "static") 4 1.1 christos include(CMakeFindDependencyMacro) 5 1.1 christos 6 1.1 christos if(iostreamv3_FIND_COMPONENTS) 7 1.1 christos find_dependency(ZLIB CONFIG COMPONENTS ${iostreamv3_FIND_COMPONENTS}) 8 1.1 christos 9 1.1 christos foreach(_comp ${iostreamv3_FIND_COMPONENTS}) 10 1.1 christos if(NOT _comp IN_LIST _iostreamv3_supported_components) 11 1.1 christos set(iostreamv3_FOUND False) 12 1.1 christos set(iostreamv3_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}") 13 1.1 christos endif(NOT _comp IN_LIST _iostreamv3_supported_components) 14 1.1 christos 15 1.1 christos include("${CMAKE_CURRENT_LIST_DIR}/iostreamv3-${_comp}.cmake") 16 1.1 christos endforeach(_comp ${iostreamv3_FIND_COMPONENTS}) 17 1.1 christos else(iostream3_FIND_COMPONENTS) 18 1.1 christos find_dependency(ZLIB CONFIG) 19 1.1 christos 20 1.1 christos foreach(_component_config IN LISTS _iostreamv3_supported_components) 21 1.1 christos include("${CMAKE_CURRENT_LIST_DIR}/iostreamv3-${_component_config}.cmake") 22 1.1 christos endforeach(_component_config IN LISTS _iostreamv3_supported_components) 23 1.1 christos endif(iostreamv3_FIND_COMPONENTS) 24