Skip to content

[Docs/CMake] Set CMake minimum to 3.30 everywhere#2126

Merged
servantftransperfect merged 1 commit into
alicevision:developfrom
philippremy:bits/min-cmake-ver
May 25, 2026
Merged

[Docs/CMake] Set CMake minimum to 3.30 everywhere#2126
servantftransperfect merged 1 commit into
alicevision:developfrom
philippremy:bits/min-cmake-ver

Conversation

@philippremy
Copy link
Copy Markdown
Contributor

Just a small fix (especially for docs) to accomodate for the change introduced in a2fea48, which set the minimum CMake version to 3.30.

Something we could consider is to hard-error on any CMake 4.X, because at least when building some embedded dependencies it can cause problems. However, I don't know if AliceVision itself can handle CMake 4.X and I cannot really test that, because I only have a Mac and must always build all dependencies. I therefore left it as-is and only kept the upper bound for building on Apple platforms.

@servantftransperfect
Copy link
Copy Markdown
Contributor

I do use cmake 4+ daily and av is working correctly. The process of upgrading the dependencies is ongoing.

@philippremy
Copy link
Copy Markdown
Contributor Author

I do use cmake 4+ daily and av is working correctly. The process of upgrading the dependencies is ongoing.

That is good to hear! Some dependencies will probably never be compatible (flann for example), because they seem to be not maintained. But I already experimented with overlaying CMakeLists.txt... something I am considering for the build system rewrite.

@servantftransperfect
Copy link
Copy Markdown
Contributor

For those dependencies, we "maintain" forks on aliceVision.

@philippremy
Copy link
Copy Markdown
Contributor Author

Right, I thought that only applied to non-CMake based dependencies. Makes my life even easier :D.

Updated INSTALL.md, INSTALL_macOS.md and MakeBundle.cmake to match change
introduced in a2fea48.

Signed-off-by: Philipp Remy <philipp@philippremy.net>
@servantftransperfect servantftransperfect merged commit 24a17d4 into alicevision:develop May 25, 2026
2 of 5 checks passed
@servantftransperfect servantftransperfect added this to the 3.4.0 milestone May 25, 2026
@servantftransperfect
Copy link
Copy Markdown
Contributor

Thanks, merged

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