diff options
author | Brad King <brad.king@kitware.com> | 2021-06-16 14:56:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-16 15:08:15 (GMT) |
commit | 947f0c8b811a2f5b0681590b449125e07a74ae0f (patch) | |
tree | 40fbb52a569133b92f36b9a6d67e47ab7223a291 /Source/cmCMakePathCommand.cxx | |
parent | e59a208b69e701593ca7ba60f3a4c2215f3e44c4 (diff) | |
download | CMake-947f0c8b811a2f5b0681590b449125e07a74ae0f.zip CMake-947f0c8b811a2f5b0681590b449125e07a74ae0f.tar.gz CMake-947f0c8b811a2f5b0681590b449125e07a74ae0f.tar.bz2 |
VS: Do not apply '/external:W*' flag table mapping on VS < 16.10
Since commit 9054cd05e6 (VS: Add flag table entries for '/external:W*'
flags in VS 16.10, 2021-05-28, v3.20.4~10^2) we map flags to the
`ExternalWarningLevel` element. VS 16.9 does not support that element,
but its `cl` compiler does support the `/external:W*` flags. Filter out
the flag table entry on older VS versions.
Fixes: #22308
Diffstat (limited to 'Source/cmCMakePathCommand.cxx')
0 files changed, 0 insertions, 0 deletions