Closed taloz5 closed 1 year ago
When working with Clang-cl on MSVC, the compiler ID is set to Clang while it expects flag in MSVC style. So need to check also CMAKE_CXX_SIMULATE_ID and not only CMAKE_C_COMPILER_ID
CMAKE_CXX_SIMULATE_ID
CMAKE_C_COMPILER_ID
Thanks
When working with Clang-cl on MSVC, the compiler ID is set to Clang while it expects flag in MSVC style. So need to check also
CMAKE_CXX_SIMULATE_ID
and not onlyCMAKE_C_COMPILER_ID