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:10 (GMT) |
commit | 59b3e977204e7ec272d2972c0ff1cd9ec9f0861a (patch) | |
tree | a1bdf4871b374c50390c2fe06bd7a9efff40d531 | |
parent | 6daf38dec66db7eec35a40f1c8ec6ca2546c96ce (diff) | |
parent | faed1562fb7944d533110555d7ac3bb3c6e09301 (diff) | |
download | CMake-59b3e977204e7ec272d2972c0ff1cd9ec9f0861a.zip CMake-59b3e977204e7ec272d2972c0ff1cd9ec9f0861a.tar.gz CMake-59b3e977204e7ec272d2972c0ff1cd9ec9f0861a.tar.bz2 |
Merge topic 'clang-imsvc'
faed1562fb Merge branch 'backport-3.23-clang-imsvc' into clang-imsvc
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 82c4383..3941311 100644 --- a/Modules/Platform/Windows-Clang.cmake +++ b/Modules/Platform/Windows-Clang.cmake @@ -191,7 +191,7 @@ if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC" set(_COMPILE_${lang} "${_COMPILE_${lang}_MSVC}") __windows_compiler_msvc(${lang}) set(CMAKE_${lang}_COMPILE_OPTIONS_WARNING_AS_ERROR "-WX") - set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-imsvc ") + set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-imsvc") endmacro() else() cmake_policy(GET CMP0091 __WINDOWS_CLANG_CMP0091) |