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

CMakeToolchain: document that variables set variables with CACHE keyword #2689

Open
SpaceIm opened this issue Aug 5, 2022 · 0 comments
Open

Comments

@SpaceIm
Copy link

SpaceIm commented Aug 5, 2022

Indeed, I've tested during migration of a recipe to conan v2 to pass a CMAKE_POLICY_DEFAULT_CMP<NNNN> with variables and it was just ignored by CMake. I had to use cache_variables.

So it would be nice to document this behavior, and maybe provide some examples of the kind of variables which should be passed with variables or cache_variables.

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