<div dir="ltr">Hello,<br><br>I am looking at:<br><br><a href="https://cmake.org/cmake/help/v3.14/prop_tgt/CXX_STANDARD.html" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v3.14/prop_tgt/CXX_STANDARD.html</a><br><br>and I see that I can pass 20, for c++20. However I do not have that in my compiler, I only have c++2a and gnu++2a, this means that CMake goes back to c++17 and macros like __VA_OPT__:<br><br><a href="https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html" rel="noreferrer" target="_blank">https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html</a><br><br>can't be used. I know that all this should work, because I can compile myself a small test piece of code with:<br><br>g++ code.cxx -o code -std=c++2a<br><br>so the problems is CMake. Is there a way to go around this?<br><br>Cheers.<br></div>