Browse Source

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

4d668f3 Clang: Add -isystem flag support everywhere
Brad King 12 years ago
parent
commit
91461b48c8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/Compiler/Clang.cmake

+ 1 - 0
Modules/Compiler/Clang.cmake

@@ -23,4 +23,5 @@ include(Compiler/GNU)
 macro(__compiler_clang lang)
 macro(__compiler_clang lang)
   __compiler_gnu(${lang})
   __compiler_gnu(${lang})
   set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
   set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
+  set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
 endmacro()
 endmacro()