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

Set CMake policy 0077 for easy inclusion from other CMake prjs #262

Merged

Conversation

hartogjr
Copy link
Contributor

@hartogjr hartogjr commented Mar 6, 2023

When including inja in another CMake project, it is desirable to set CMake options for the inja project in the containing project. This can be done through CMake variable setting. Unfortunately, for this to work correctly, both projects need to set CMake policy 77 to NEW. This pull request sets this option in the inja project to allow for easier inclusion.

@pantor pantor merged commit fe58260 into pantor:master Sep 3, 2023
@pantor
Copy link
Owner

pantor commented Sep 3, 2023

Thanks!

@hartogjr hartogjr deleted the Allow_external_CMake_variable_setting branch November 2, 2023 10:02
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