cmake_dependent_option: Make use of separate_arguments()
to use the same code when parsing if() directly from a cmake file and as cmake_dependent_option() argument
This is a prove of concept and requires a policy, because before some regex where working out of luck.
Issue: #22303 (closed)
Edited by Brad King