ClangCL: Add support for system includes
Hello,
I'm testing ClangCL (from VS2022 preview 2) and noticed that it does not support system includes. I was able to hack-in support by adding the following two lines to my CMakeLists.txt
:
set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-Xclang -isystem -Xclang ")
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-Xclang -isystem -Xclang ")
Would you please consider adding similar functionality to the proper CMake Platform modules?
Thanks, Gregor