From 4056181632bd3372f279cb2272663606ab9e77e7 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Wed, 3 Apr 2024 15:45:17 +0900 Subject: [PATCH] windows: build: Disable out_kafka in AppVeyor builds Signed-off-by: Hiroshi Hatake --- cmake/windows-setup.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/windows-setup.cmake b/cmake/windows-setup.cmake index 04155f65c3d..2f526bd7b8e 100644 --- a/cmake/windows-setup.cmake +++ b/cmake/windows-setup.cmake @@ -88,7 +88,12 @@ if(FLB_WINDOWS_DEFAULTS) set(FLB_OUT_LIB Yes) set(FLB_OUT_NULL Yes) set(FLB_OUT_FLOWCOUNTER Yes) +if (NOT "$ENV{APPVEYOR}" STREQUAL "") + message(STATUS "AppVeyor causes strange OpenSSL linkage for librdkafka. So, we'll disable kafka plugin.") + set(FLB_OUT_KAFKA No) +else() set(FLB_OUT_KAFKA Yes) +endif() set(FLB_OUT_KAFKA_REST No) set(FLB_OUT_CLOUDWATCH_LOGS Yes) set(FLB_OUT_S3 Yes)