Closed grepwood closed 5 years ago
The requirement comes from the Windows build. We build the releases on Debian-backports (CMake 3.13). Prior to adding Windows support the CMake requirement was 3.7.
We are currently looking in to ways of bringing down the requirement to something like 3.10, or maybe even 3.7. Thanks for the version overview.
@AJenbo What specifically about the Windows build warranted this change? I can crosscompile OpenJK for Windows just fine with CMake 3.9.
The requirment has now been lowered to 3.7 for most platforms, technically it works all the way back to and including 3.3. But using older versions then 3.7 for continuous testing seems more of a hassle then it's worth, and it's preferable that we can detect if there is a change in requirements.
For Windows-builds the limit is 3.10 since older versions fail during the pthread lookup.
I wanted to compile this project on Gentoo Linux and got a message saying my stable CMake is too old :)
Further investigation shows CMake versions across various distributions considered stable.
Fedora and Arch were not taken into account due to them being cutting-edge distros that are expected to have latest packages. CentOS was not taken into account because it's antiquated and a new release is coming soon.
Bottom line - is such a version of CMake really necessary? After reducing the minimum version to 3.7, I only got this error:
When in fact, that's not really correct. The offending line says
Any ideas?