overte icon indicating copy to clipboard operation
overte copied to clipboard

Build system broken with CMake 4.0

Open ada-tv opened this issue 9 months ago • 2 comments

CMake 4.0 was released a few days ago and is already available as the default cmake package in some Linux distros.

CMake script versions older than 3.5 were removed, and that means a some of the CMake scripts we use are now broken and can't build. (The vcpkg build step for spirv-tools is affected by this, as an example)

My temporary workaround for this on Arch was downgrading back to 3.31 with the cmake3 package from the AUR.

ada-tv avatar Apr 01 '25 09:04 ada-tv

Can you try and see if this issue also happens on the Conan branch?

AnotherFoxGuy avatar Apr 01 '25 10:04 AnotherFoxGuy

Can you try and see if this issue also happens on the Conan branch?

With the conan branch, on my system, both CMake 4.0 and 3.31 throw errors that CMake can't find nlohmann-json (which I installed manually) and glad, (which I also installed but isn't being picked up) so at the moment it can't get far enough in to reach any of the problem scripts.

I'm running fully up-to-date Arch

ada-tv avatar Apr 01 '25 11:04 ada-tv