Hello, I am looking at:
https://cmake.org/cmake/help/v3.14/prop_tgt/CXX_STANDARD.html 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__: https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html can't be used. I know that all this should work, because I can compile myself a small test piece of code with: g++ code.cxx -o code -std=c++2a so the problems is CMake. Is there a way to go around this? Cheers.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake