Fossil SCM
| 6ea30fb… | florian | 1 | @PACKAGE_INIT@ |
| 6ea30fb… | florian | 2 | |
| 6ea30fb… | florian | 3 | set(_ZLIB_supported_components "shared" "static") |
| 6ea30fb… | florian | 4 | |
| 6ea30fb… | florian | 5 | if(ZLIB_FIND_COMPONENTS) |
| 6ea30fb… | florian | 6 | foreach(_comp ${ZLIB_FIND_COMPONENTS}) |
| 6ea30fb… | florian | 7 | if(NOT _comp IN_LIST _ZLIB_supported_components) |
| 6ea30fb… | florian | 8 | set(ZLIB_FOUND False) |
| 6ea30fb… | florian | 9 | set(ZLIB_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}") |
| 6ea30fb… | florian | 10 | endif(NOT _comp IN_LIST _ZLIB_supported_components) |
| 6ea30fb… | florian | 11 | |
| 6ea30fb… | florian | 12 | include("${CMAKE_CURRENT_LIST_DIR}/ZLIB-${_comp}.cmake") |
| 6ea30fb… | florian | 13 | endforeach(_comp ${ZLIB_FIND_COMPONENTS}) |
| 6ea30fb… | florian | 14 | else(ZLIB_FIND_COMPONENTS) |
| 6ea30fb… | florian | 15 | foreach(_component_config IN LISTS _ZLIB_supported_components) |
| 6ea30fb… | florian | 16 | include("${CMAKE_CURRENT_LIST_DIR}/ZLIB-${_component_config}.cmake") |
| 6ea30fb… | florian | 17 | endforeach(_component_config IN LISTS _ZLIB_supported_components) |
| 6ea30fb… | florian | 18 | endif(ZLIB_FIND_COMPONENTS) |