diff options
author | Brad King <brad.king@kitware.com> | 2022-05-17 15:08:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-17 15:09:15 (GMT) |
commit | 23a52561c73638fe865c71ed3ddd9457524a5a85 (patch) | |
tree | e0699203b3bd86c02c75e98199bd00a655c52c4d /Help/guide/tutorial/Step2/MathFunctions/MathFunctions.h | |
parent | 5b3096198a0b3a795684a42c9b71c7816151f053 (diff) | |
download | CMake-23a52561c73638fe865c71ed3ddd9457524a5a85.zip CMake-23a52561c73638fe865c71ed3ddd9457524a5a85.tar.gz CMake-23a52561c73638fe865c71ed3ddd9457524a5a85.tar.bz2 |
Clang: Use -imsvc flag without space to support Clang tools
Since commit bb61c2d024 (Clang: use -imsvc for system include dirs when
running on Windows, 2020-09-16, v3.19.0-rc1~162^2) we use the `-imsvc`
flag followed by the include directory as a separate argument. Some
versions of `clang-tidy` do not support the flag unless the include
directory is attached to it, so use that form instead.
A similar fix was made by commit 3a8b6653dc (MSVC: Use -external:I flag
without space to support Clang tools, 2022-01-11, v3.22.2~8^2).
Fixes: #23517
Diffstat (limited to 'Help/guide/tutorial/Step2/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions