Skip to content

Fix CMakeLists on metrix branch for cmake 4.0.0#29

Draft
rolnico wants to merge 2 commits intorte-france:metrixfrom
rolnico:fix_metrix_cmake4
Draft

Fix CMakeLists on metrix branch for cmake 4.0.0#29
rolnico wants to merge 2 commits intorte-france:metrixfrom
rolnico:fix_metrix_cmake4

Conversation

@rolnico
Copy link
Copy Markdown

@rolnico rolnico commented Apr 2, 2025

With Cmake 3.x, not using the method CMAKE_MINIMUM_REQUIRED in the CMakeLists.txt led to warnings raised during the build.

Since Cmake 4.0.0, it is now required to use the method CMAKE_MINIMUM_REQUIRED and an error will be thrown if it is not, which was the case in the metrix branch. It was already the case on the main branch.

@rolnico rolnico force-pushed the fix_metrix_cmake4 branch from 7669f15 to 351d0ef Compare April 2, 2025 12:41
@rolnico rolnico marked this pull request as draft April 4, 2025 09:03
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.

1 participant