Skip to content

Commit

Permalink
CMakeLists.txt: only require a C compiler
Browse files Browse the repository at this point in the history
Fluent-bit is mostly written in C,
so don't require CXX in the top-level project.

Signed-off-by: Thomas Devoogdt <[email protected]>
  • Loading branch information
ThomasDevoogdt authored and edsiper committed Jan 31, 2023
1 parent 244d73d commit 7bcb502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.12)
project(fluent-bit)
project(fluent-bit C)

# CMP0069 ensures that LTO is enabled for all compilers
cmake_policy(SET CMP0069 NEW)
Expand Down

0 comments on commit 7bcb502

Please sign in to comment.