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