• Nikita Sirgienko's avatar
    CMakeDetermineCompilerId: support Intel DPC++ compiler toolset for VS gen · 7808cbd6
    Nikita Sirgienko authored
    Before Intel have only one compiler icl (Intel(R) C++ compiler) and
    CMakeDetermineCompilerId has considered, that all toolchains with a word
    "Intel" in the toolchain name is a icl compiler. But now Intel have also other
    compiler - Intel(R) DPC++ compiler, which haven't working with cmake on
    Visual Studio Generator because cmake try to use icl compiler, which cmake
    can't found and because of this fails the configuration. This commit fix
    this problem, and both compilers start to work correctly with
    Visual Studio generator.
    Fixes: #21546
CMakeDetermineCompilerId.cmake 43.6 KB