Skip to content

Commit

Permalink
build: disable cxx support for librdkafka #7741
Browse files Browse the repository at this point in the history
Fluent-bit is c only, so no need to compile cxx.
This fixes also a compile error in buildroot.

Signed-off-by: Thomas Devoogdt <[email protected]>
  • Loading branch information
ThomasDevoogdt committed Nov 17, 2024
1 parent b6eddbc commit 9987120
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/kafka.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# kafka cmake
FLB_OPTION(RDKAFKA_BUILD_CXX Off)
FLB_OPTION(RDKAFKA_BUILD_STATIC On)
FLB_OPTION(RDKAFKA_BUILD_EXAMPLES Off)
FLB_OPTION(RDKAFKA_BUILD_TESTS Off)
Expand Down

0 comments on commit 9987120

Please sign in to comment.