diff options
author | Brad King <brad.king@kitware.com> | 2013-03-28 14:41:55 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-03-28 14:41:55 (GMT) |
commit | 91461b48c8ff53b227ad3d0b4f59879dee130aa1 (patch) | |
tree | 449c8e08de5c7b774d224745b2e74ac8e134b921 /Modules/Compiler | |
parent | 6a03ea4725674633361f5fcc7bc719d28b7c8731 (diff) | |
parent | 4d668f3311896d1b7f06365b3b96e1724a417229 (diff) | |
download | CMake-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.cmake | 1 |
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() |