Skip to content

Conversation

mosra
Copy link
Collaborator

@mosra mosra commented May 5, 2025

Motivation and Context

CMake 4 removed compatibility with CMake <= 3.5, and various dependencies had that (or older) still as the minimum. Updated to newer versions to fix that. Assimp additionally needed to disable -Werror, and for Bullet, where it still requires just CMake 2.4.3 (?!), I'm adding a workaround that CMake itself suggested.

Prerequisite to make #2572 build on the Mac CI.

CMake 4 removed compatibility with CMake <= 3.5, and the zstd version
had it still as the minimum. Updated to latest zstd 1.5.7 to fix that.
@mosra mosra requested review from aclegg3, eundersander and 0mdc May 5, 2025 09:45
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 5, 2025
Hopefully it didn't grow the bug zoo too much since 5.0.
@mosra mosra force-pushed the update-zstd-cmake-min-version branch from 5697046 to 850193b Compare May 5, 2025 10:08
mosra added 3 commits May 5, 2025 12:16
The commit bumping to 3.5 (which is still too old) was just two weeks
ago: bulletphysics/bullet3@d1a4256
5.2.0 also fails to build due to a missing <cstddef> include, which is
fixed in 5.2.2. SIGH.
@mosra mosra force-pushed the update-zstd-cmake-min-version branch from f073dc7 to 441c522 Compare May 5, 2025 12:25
3.3.5, which is the oldest that has this fixed. Latest 3.4 relies on the
wayland-scanner executable which isn't installed on the CI, and I don't
want to deal with that as well.
@mosra mosra force-pushed the update-zstd-cmake-min-version branch from 441c522 to 770f25d Compare May 5, 2025 13:41
@mosra mosra changed the title Use a newer zstd to make build work with CMake 4.0 Use newer zstd, Assimp and GLFW to make build work with CMake 4.0 May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants