Skip to content

Autogen: Fix for problematic nested lists separator (3.10 branch)

In the AutogenInfo.cmake file the separator for nested lists was @LSEP@ which led to a speed regression because the @ character triggered an (unsuccessful) expression evaluation.

By setting the policy version of the CMake instance in the _autogen target to 3.9, the OLD @ evaluating behavior controlled by policy CMP0053 is disabled.

Also the nested lists separator string is changed to <<<S>>>, which solves the problem twofold.

The issue for CMake 3.10.0 is: https://gitlab.kitware.com/cmake/cmake/issues/17570

Edited by Sebastian Holtermann

Merge request reports