Browse Source

Merge topic 'isystemForIcpc'

cab5ebd4 Intel compiler: add -isystem flag under Linux
Brad King 11 years ago
parent
commit
a3bac644f1
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Modules/Platform/Linux-Intel-C.cmake
  2. 1 0
      Modules/Platform/Linux-Intel-CXX.cmake

+ 1 - 0
Modules/Platform/Linux-Intel-C.cmake

@@ -1,2 +1,3 @@
 include(Platform/Linux-Intel)
 __linux_compiler_intel(C)
+set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem ")

+ 1 - 0
Modules/Platform/Linux-Intel-CXX.cmake

@@ -1,2 +1,3 @@
 include(Platform/Linux-Intel)
 __linux_compiler_intel(CXX)
+set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ")