morganstanley / modern-cpp-kafka

A C++ API for Kafka clients (i.e. KafkaProducer, KafkaConsumer, AdminClient)
Apache License 2.0
331 stars 86 forks source link

build(cmake): Avoid overwriting include directories #221

Open ditsuke opened 10 months ago

ditsuke commented 10 months ago

Context

While attempting to package this library for Nix, I discovered the Cmake configuration here is overwriting include directories passed as cmake flags.

Summary

I add guard checks to avoid overwriting include directories per expected behavior.