M2 icon indicating copy to clipboard operation
M2 copied to clipboard

Cmake minimum version?

Open jkyang92 opened this issue 1 year ago • 1 comments

build-libraries.cmake has cmake_policy(SET CMP0135 NEW), which only works for cmake >=3.24, on the other hand, cmake_minimum_version is set to 3.15. A minor annoyance with simply updating cmake_minimum_version is that Ubuntu's current LTS only has cmake 3.22

jkyang92 avatar Jan 16 '24 18:01 jkyang92

It's silly that CMake can't just silently ignore non-existent policies ... I've just been commenting that line on older systems, but probably the simplest solution is to add a version check before the cmake_policy line and I'm fine if you want to do that.

mahrud avatar Jan 16 '24 19:01 mahrud

(Will be) fixed by #3373.

mahrud avatar Jul 21 '24 15:07 mahrud