diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
commit | c21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/Config.cmake.in | |
parent | Adding upstream version 1.43.2. (diff) | |
download | netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.tar.xz netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.zip |
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/Config.cmake.in')
-rw-r--r-- | fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/Config.cmake.in | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/Config.cmake.in b/fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/Config.cmake.in new file mode 100644 index 000000000..8a6522b06 --- /dev/null +++ b/fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/Config.cmake.in @@ -0,0 +1,37 @@ +@PACKAGE_INIT@ + +include(CMakeFindDependencyMacro) + +if(@WITH_ZLIB@) + find_dependency(ZLIB) +endif() + +if(@WITH_CURL@) + find_dependency(CURL) +endif() + +if(@WITH_ZSTD@) + find_library(ZSTD zstd) + if(NOT ZSTD) + message(ERROR "ZSTD library not found!") + else() + message(STATUS "Found ZSTD: " ${ZSTD}) + endif() +endif() + +if(@WITH_SSL@) + if(@WITH_BUNDLED_SSL@) + # TODO: custom SSL library should be installed + else() + find_dependency(OpenSSL) + endif() +endif() + +if(@WITH_LZ4_EXT@) + find_dependency(LZ4) +endif() + +find_dependency(Threads) + +include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") +check_required_components("@PROJECT_NAME@") |