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

Fix handling of deprecated CMake cache variables #178

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

Pansysk75
Copy link
Contributor

Hey there,
I'm a new user of this library. The docs led me to use the deprecated versions of the CMake cache variables.
Previously, the set( ... CACHE ... ) command was not used correctly. Replacing an existing cache variable would also require using the "FORCE" keyword.
In addition to fixing set(), I also changed the relative order of option(...) and set(...), because keeping them in the previous order and using set(... CACHE ... FORCE) would have required duplication of the description strings.
This fix produces what I believe to have been the intended behavior.
Thanks!

@khuck
Copy link
Collaborator

khuck commented Sep 28, 2023

Thanks for the PR... I'll take a look at this and see if I can get it merged in the next few days...

@khuck khuck merged commit af02ab1 into UO-OACISS:develop Dec 6, 2023
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

Successfully merging this pull request may close these issues.

2 participants