Since "check" is a non-standard target added by individual components,
it shouldn't interact with enable_testing() and add_test() at all as far
as I can see. (If the dependencies of the check target aren't built by
default (ALL) and are also used by add_test() then that might be a
potential problem, but I'd then question what the "check" target was
really for in the first placeâ¦ since testing is usually done by running
ctest and not building a target.)