Qt5 CMake can't find C++ STD library if a definition is added in CMakeLists.txt

I don’t think compilers generally support callable macro definitions on the command line.

Do you have the error message available?