[CMake] c++2a

2019-05-06 Thread Angel Campoverde
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/onlin

[CMake] Problem with foreach() iteration over a list that uses generator expressions

2019-05-06 Thread Tadeusz A . Kadłubowski
Hi, I apologize for initially sending this message to cmake-develop...@cmake.org, rather than here. I was confused and mistook the proper mailing list. I have an `INTERFACE IMPORTED` library target that depends on a bunch of optional dependencies. Please see the snippet below: cmake_minimum_requ