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

Update version checks to avoid cmake issue #26243 #605

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Avus-c
Copy link
Contributor

@Avus-c Avus-c commented Sep 25, 2024

Fixes #603
Related to #570

This PR updates the CMake version check from 3.28.0 to 3.30.0 due to a known bug affecting versions up to 3.30.2. The issue has been resolved in CMake 3.30.3 (see CMake issue #26243).

Users may still encounter the issue described in #603 when using CMake versions 3.30.0 to 3.30.2.

Instead of using the non-deprecated function starting from 3.30.0, we could set it to 3.30.3, where the bug is fixed.
However, it will then trigger deprecation warnings.

Basically if someone uses CPM >=0.40.1, and cmake 3.30.0 - 3.30.2, they run into either deprecation errors or a cmake bug, no matter what we do.

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.

GTest configuration fails as of CPM version 0.40.1
1 participant