summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-02-10 12:45:53 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-02-10 12:46:33 (GMT)
commit691e8ac480c1f819f700b41552fabc42ffe8abac (patch)
tree953d46b6ef677eb70b8108675d3aaad038b93a73 /Modules/Compiler
parent1356b94a87ba79f9a2aa8876d969364356dd9076 (diff)
parent2fc5e5dba903da4c845b41f60fa9adb59c7cfbd1 (diff)
downloadCMake-691e8ac480c1f819f700b41552fabc42ffe8abac.zip
CMake-691e8ac480c1f819f700b41552fabc42ffe8abac.tar.gz
CMake-691e8ac480c1f819f700b41552fabc42ffe8abac.tar.bz2
Merge topic 'clang-imsvc'
2fc5e5dba9 Clang: Use -imsvc for system include only with MSVC-like front-end Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Thomas Bernard <thomas@famillebernardgouriou.fr> Merge-request: !5792
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/Clang.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Compiler/Clang.cmake b/Modules/Compiler/Clang.cmake
index 9f900df..5862521 100644
--- a/Modules/Compiler/Clang.cmake
+++ b/Modules/Compiler/Clang.cmake
@@ -19,7 +19,6 @@ if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC"
OR "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC"
OR "x${CMAKE_Fortran_SIMULATE_ID}" STREQUAL "xMSVC")
macro(__compiler_clang lang)
- set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-imsvc ")
endmacro()
else()
include(Compiler/GNU)