Add sanitisation checks to a target, CMake macro