diff options
author | Brad King <brad.king@kitware.com> | 2022-05-18 12:02:03 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-05-18 12:02:09 (GMT) |
commit | 44ccfdbe0b3cb9be0278b416febe0b58e4a26e77 (patch) | |
tree | e0699203b3bd86c02c75e98199bd00a655c52c4d | |
parent | 5b3096198a0b3a795684a42c9b71c7816151f053 (diff) | |
parent | 23a52561c73638fe865c71ed3ddd9457524a5a85 (diff) | |
download | CMake-44ccfdbe0b3cb9be0278b416febe0b58e4a26e77.zip CMake-44ccfdbe0b3cb9be0278b416febe0b58e4a26e77.tar.gz CMake-44ccfdbe0b3cb9be0278b416febe0b58e4a26e77.tar.bz2 |
Merge topic 'clang-imsvc' into release-3.23
23a52561c7 Clang: Use -imsvc flag without space to support Clang tools
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Acked-by: hihig2001 <hihig@bluehole.net>
Merge-request: !7274
-rw-r--r-- | Modules/Platform/Windows-Clang.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-Clang.cmake b/Modules/Platform/Windows-Clang.cmake index e7e975d..4d3de0e 100644 --- a/Modules/Platform/Windows-Clang.cmake +++ b/Modules/Platform/Windows-Clang.cmake @@ -182,7 +182,7 @@ if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC" macro(__windows_compiler_clang_base lang) set(_COMPILE_${lang} "${_COMPILE_${lang}_MSVC}") __windows_compiler_msvc(${lang}) - set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-imsvc ") + set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-imsvc") endmacro() else() cmake_policy(GET CMP0091 __WINDOWS_CLANG_CMP0091) |