Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snappy.h conflict #4892

Open
balshetzer opened this issue Nov 4, 2024 · 0 comments
Open

snappy.h conflict #4892

balshetzer opened this issue Nov 4, 2024 · 0 comments

Comments

@balshetzer
Copy link

Description

when using cmake FetchContent or the cmake release process then the entire directory is used as the include directory. Then, if you also depend on snappy then you get a conflict on snappy.h.

How to reproduce

create a project that uses rdkafka and snappy. Use cmake FetchContent to get rdkafka. Include snappy.h. There is no way to disambiguate.

It would be nice if only the public includes were in an include dir that can be added to the include path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant