termistor icon indicating copy to clipboard operation
termistor copied to clipboard

fix: Bump cmake_minimum_required to 3.5

Open galmyk opened this issue 10 months ago • 0 comments

Last week CMake 4.0 released and it is in available in some bleeding edge distros like Arch Linux and it will be available in other distros soon.

Compatibility with CMake < 3.5 has been removed from CMake 4.0.

So we need to update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, we need add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to cmake arguments to try configuring anyway.

I changed <min> to 3.5, so we can build with cmake >= 4.0.

galmyk avatar Apr 03 '25 23:04 galmyk