When compiling fairsoft, fairroot and cbmroot with debug options an error occurred when linking the test executables as described in #1794. The fix now calls the CMake fucntion in a proper way without escaping some variables.
Closes #1794 @15m