Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins/{in,out}_kafka/CMakeLists.txt: fix cross compile error
KAFKA_INCLUDEDIR is not set if FLB_PREFER_SYSTEM_LIB_KAFKA is not used, when cross-compiling, it just translates to -I/librdkafka, which is not allowed. Fix this by only including KAFKA_INCLUDEDIR if really set. x86_64-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/librdkafka' Signed-off-by: Thomas Devoogdt <[email protected]>
- Loading branch information