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

Emit warning if public include path is unversioned #16

Open
TheLartians opened this issue Feb 15, 2021 · 0 comments
Open

Emit warning if public include path is unversioned #16

TheLartians opened this issue Feb 15, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@TheLartians
Copy link
Owner

One thing I actually do worry about now is if a user installs different versions of the same package without using a versioned include path. Then the include path would only contain the most recent installed version, but the CMake modules would still exist for all versions.

Perhaps we could check if the include path contains the version string and emit an informative warning if the flag NO_VERSION_SUFFIX isn't set. (using flag would completely overwrite the old versions, so CMake won't find old versions at all)

Originally posted by @TheLartians in #15 (comment)

@TheLartians TheLartians added the enhancement New feature or request label Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant