-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Including project_options in the installed package for interface libraries #108
Comments
This is impossible in CMake. The interface libraries cannot have private dependencies. |
I know, but if you install this interface, it is also impossible to use this header only lib without |
We should also install project_options for header-only libraries. |
If I use a header only lib i.e. boost::asio I will not import there development setting like:
the worst case: g++ specific warnings, if I want to use clang++ I created this issue to show it is a wrong usage of |
The config files generated by CMake are not portable! They have absolute paths in them, and they are generated based on the options you pass to To avoid having test/sanitizer-related flags in the generated config, you should use I will add this to the readme if it is not clear. |
The example in the readme is updated. Now, the |
see a178b9c
Upvote & Fund
@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog!
The text was updated successfully, but these errors were encountered: