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

cmake: Fix minimum required version #71

Merged
merged 1 commit into from
Jan 9, 2020
Merged

Conversation

stotko
Copy link
Owner

@stotko stotko commented Jan 9, 2020

The current minimum required CMake version is set to 3.13 since the project uses some of its newly introduced features. However, the project is configured to use the NEW behavior of more recent CMake policies until version 3.15. Since the CI uses the newest version, this effectively only verifies builds where the minimum required version would be set to 3.15.

This caused a further implicit dependency getting unnoticed so far. When building on Windows, a further requirement is the NEW behavior of CMake policy CMP00091. Fix this issue by increasing the minimum required CMake version. Futhermore, increase the maximum version where policies are set to NEW to the most recent version 3.16.

@stotko stotko added the bug label Jan 9, 2020
@stotko stotko added this to the 1.2.0 milestone Jan 9, 2020
@stotko stotko merged commit 630a79f into master Jan 9, 2020
@stotko stotko deleted the cmake_min_version_fix branch January 9, 2020 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant