Skip to content

Fix building on CMake 4.x#375

Open
sleirsgoevy wants to merge 1 commit intovitasdk:masterfrom
sleirsgoevy:fix-cmake4
Open

Fix building on CMake 4.x#375
sleirsgoevy wants to merge 1 commit intovitasdk:masterfrom
sleirsgoevy:fix-cmake4

Conversation

@sleirsgoevy
Copy link
Contributor

@sleirsgoevy sleirsgoevy commented Jan 28, 2026

CMake 4.x does not support refuses to build projects which declare their target CMake version as <3.5. Fix the issue by either updating the affected packages, or adding a CMake directive to force-run it.

@d3m3vilurr
Copy link
Contributor

Hi. I just roughly check the PR. we might need some parts(cmake flags), but few parts(change hash, repo addr, ...) aren't.
@scribam can you cross check this?

@isage
Copy link
Contributor

isage commented Feb 4, 2026

few parts(change hash, repo addr, ...) aren't

those "not needed" few parts update packages to versions, where cmake 4 compatibility fixed upstream

@d3m3vilurr
Copy link
Contributor

aha i got it. so, how about just use DCMAKE_POLICY_VERSION_MINIMUM for limited time until they release new version instead of remove the hash & change the source repo addr.

@isage
Copy link
Contributor

isage commented Feb 6, 2026

That works too

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.

3 participants