Merge topic 'dev/add-isystem-for-clang'

4d668f3 Clang: Add -isystem flag support everywhere
This commit is contained in:
Brad King 2013-03-28 10:41:55 -04:00 committed by CMake Topic Stage
commit 91461b48c8
1 changed files with 1 additions and 0 deletions

View File

@ -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()