Skip to content

CMakeDependentOption: allow in depends the use of dot

Vicente Bolea requested to merge vbolea/cmake:cdo-consider-dots into master

Sometimes we need to compare versions in the depends argument for cmake_dependent_option, thus the . character is needed.

Currently is allow but a policy error message is displayed if a . is found, since the use of . in cmake_dependent_option is wrongly being considered OLD behavior.

Merge request reports

Loading