summaryrefslogtreecommitdiff
path: root/compat/zlib/contrib/iostream3/iostream3Config.cmake.in
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
committercashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
commit4f49b16079b27d7ce633619e4cddfdf2bffbc952 (patch)
treec296c1e7f3c3e2f6859c6d3a1b1b208779b89679 /compat/zlib/contrib/iostream3/iostream3Config.cmake.in
downloadrelic-master.tar.gz
initial commitHEADmaster
Diffstat (limited to 'compat/zlib/contrib/iostream3/iostream3Config.cmake.in')
-rw-r--r--compat/zlib/contrib/iostream3/iostream3Config.cmake.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/compat/zlib/contrib/iostream3/iostream3Config.cmake.in b/compat/zlib/contrib/iostream3/iostream3Config.cmake.in
new file mode 100644
index 0000000..a3db5e8
--- /dev/null
+++ b/compat/zlib/contrib/iostream3/iostream3Config.cmake.in
@@ -0,0 +1,23 @@
+@PACKAGE_INIT@
+
+set(_iostreamv3_supported_components "shared" "static")
+include(CMakeFindDependencyMacro)
+
+if(iostreamv3_FIND_COMPONENTS)
+ find_dependency(ZLIB CONFIG COMPONENTS ${iostreamv3_FIND_COMPONENTS})
+
+ foreach(_comp ${iostreamv3_FIND_COMPONENTS})
+ if(NOT _comp IN_LIST _iostreamv3_supported_components)
+ set(iostreamv3_FOUND False)
+ set(iostreamv3_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}")
+ endif(NOT _comp IN_LIST _iostreamv3_supported_components)
+
+ include("${CMAKE_CURRENT_LIST_DIR}/iostreamv3-${_comp}.cmake")
+ endforeach(_comp ${iostreamv3_FIND_COMPONENTS})
+else(iostream3_FIND_COMPONENTS)
+ find_dependency(ZLIB CONFIG)
+
+ foreach(_component_config IN LISTS _iostreamv3_supported_components)
+ include("${CMAKE_CURRENT_LIST_DIR}/iostreamv3-${_component_config}.cmake")
+ endforeach(_component_config IN LISTS _iostreamv3_supported_components)
+endif(iostreamv3_FIND_COMPONENTS)