Skip to content

Set CMAKE_POLICY_VERSION_MINIMUM in CMakePresets.json

Set CMAKE_POLICY_VERSION_MINIMUM to 3.5 in the CMakePresets.json file in order to build with CMake 4.0. This is a workaround until we can fix the problems caused by the manylinux docker images being updated. There are two problems, jsoncpp which can be fixed by building as an external project instead of add_subdirectory (and specifying the CMAKE_POLICY_VERSION_MINIMUM for the configure step of the external project) and the CMakeRC resource compiler used for some of the help text which probably have to be patched on download in order to fix it.

Merge request reports

Loading