Can no longer override add_test in CMake 3.20
!5409 (merged) added restrictions on what commands may be overridden. We have a utility script that relies on being able to override add_test()
, which is no longer functional with 3.20, yielding the error:
Built-in flow control command "add_test" cannot be overridden.
Judging by the contents of the MR, and the error message, it seems to me that add_test()
should not be considered a flow control command.
Is this an accidental breakage, or is this by design?