Cannot use /std:c++17 in a generator expression?
target_compile_options ("${Library_REngine_Base}"
INTERFACE
$<$<BOOL:${re_var_WINDOWS_MSVC_CLANG}>:/std:c++17>
)
As long as there is a ":" in a generator expression the flag won't be added. Why don't generator expressions support strings in that case?
target_compile_options ("${Library_REngine_Base}"
INTERFACE
$<$<BOOL:${re_var_WINDOWS_MSVC_CLANG}>":/std:c++17">
)
This should add /std:c++17 instead it adds ":/std:c++17" with the quotes.