Fossil SCM

fossil-scm / compat / zlib / contrib / iostream3 / iostream3Config.cmake.in
Source Blame History 23 lines
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)

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button