CMakeDependentOption: allow in depends the use of dot

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