summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-17 14:59:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-02-17 14:59:43 (GMT)
commita3bac644f196c208e919bb2d32d01b75f4fc8d9b (patch)
treeb2465b08c97a5ffc9c7d41f5e62460ef38071f76 /Modules/Platform
parentb1d34182b8708784e9de5718329484319c35b3dd (diff)
parentcab5ebd497b1acf109769d299779a41b16f9b7bf (diff)
downloadCMake-a3bac644f196c208e919bb2d32d01b75f4fc8d9b.zip
CMake-a3bac644f196c208e919bb2d32d01b75f4fc8d9b.tar.gz
CMake-a3bac644f196c208e919bb2d32d01b75f4fc8d9b.tar.bz2
Merge topic 'isystemForIcpc'
cab5ebd4 Intel compiler: add -isystem flag under Linux
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Linux-Intel-C.cmake1
-rw-r--r--Modules/Platform/Linux-Intel-CXX.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-Intel-C.cmake b/Modules/Platform/Linux-Intel-C.cmake
index d1694d6..449493a 100644
--- a/Modules/Platform/Linux-Intel-C.cmake
+++ b/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 ")
diff --git a/Modules/Platform/Linux-Intel-CXX.cmake b/Modules/Platform/Linux-Intel-CXX.cmake
index 66df3ac..142b6cf 100644
--- a/Modules/Platform/Linux-Intel-CXX.cmake
+++ b/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 ")