summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-03-28 14:41:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-03-28 14:41:55 (GMT)
commit91461b48c8ff53b227ad3d0b4f59879dee130aa1 (patch)
tree449c8e08de5c7b774d224745b2e74ac8e134b921 /Modules/Compiler
parent6a03ea4725674633361f5fcc7bc719d28b7c8731 (diff)
parent4d668f3311896d1b7f06365b3b96e1724a417229 (diff)
downloadCMake-91461b48c8ff53b227ad3d0b4f59879dee130aa1.zip
CMake-91461b48c8ff53b227ad3d0b4f59879dee130aa1.tar.gz
CMake-91461b48c8ff53b227ad3d0b4f59879dee130aa1.tar.bz2
Merge topic 'dev/add-isystem-for-clang'
4d668f3 Clang: Add -isystem flag support everywhere
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/Clang.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/Clang.cmake b/Modules/Compiler/Clang.cmake
index 75a971d..c6cd8f8 100644
--- a/Modules/Compiler/Clang.cmake
+++ b/Modules/Compiler/Clang.cmake
@@ -23,4 +23,5 @@ include(Compiler/GNU)
macro(__compiler_clang lang)
__compiler_gnu(${lang})
set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
+ set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
endmacro()