Today I updated from 3.10 to 3.20. Then I get a lot of errors:
Built-in flow control command "install" cannot be overridden.
Built-in flow control command "get_target_property" cannot be overridden.
Built-in flow control command "add_custom_target" cannot be overridden.
I am overwriting these to test my own CMake functions that call these functions. This way I can check if it is called with the expected parameters.
Why are they now considered flow control commands?
How can I make CMake accept those overwrites? Or is there another way to do what I want?
PS: I could not find this change in Changelog or Policies page.