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