Use the target name instead of a path to the executable here, like this:
COMMAND units_pressure_test
CMake knows how to run an executable target in the test, and it will allow it to apply all of the target’s relevant properties (such as TEST_LAUNCHER).
If you use a path instead, you’re effectively just telling CMake “run that particular executable,” without any logical link to the target.