diff options
author | William R. Dieter <william.r.dieter@intel.com> | 2021-12-09 05:33:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-12-15 20:56:20 (GMT) |
commit | 612c0d49f4042303b2c666ec8ca6d02deea637a4 (patch) | |
tree | 5e57a70f61c5c71204a23948b43e64cb09e0510a /Source/cmLinkItem.cxx | |
parent | b54d61c4a043fb86c6bac558071dcf1db3c6c2ff (diff) | |
download | CMake-612c0d49f4042303b2c666ec8ca6d02deea637a4.zip CMake-612c0d49f4042303b2c666ec8ca6d02deea637a4.tar.gz CMake-612c0d49f4042303b2c666ec8ca6d02deea637a4.tar.bz2 |
VS: Fix detecting icx.exe with Intel Compiler toolsets newer than 2021
The logic added by commit 7808cbd644 (CMakeDetermineCompilerId: support
Intel DPC++ compiler toolset for VS gen, 2020-12-06, v3.20.0-rc1~330^2)
matches a specific toolset known to be the `icx.exe` compiler, and
assumes all other Intel C++ compilers (that are not DPC++) must be
`icl.exe`.
Since `icx.exe` is officially replacing `icl.exe`, use a regex that
matches the now-fixed set of toolsets known to use `icl.exe`. Any other
Intel C++ compiler will be assumed to be `icx.exe`.
Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
Diffstat (limited to 'Source/cmLinkItem.cxx')
0 files changed, 0 insertions, 0 deletions