using Catch2 test detection when test binary is output outside the build tree

It’s referenced in the “Catch2 utility” section of your very post. I assume that comes from the CatchAddTests.cmake file. You should be able to insert a suitable inspection command in there.