Intel compiler: add -isystem flag under Linux

This makes the SYSTEM keyword work with the Intel compiler
under Linux. AFAIK this is supported neither under Windows nor OSX.

Alex
This commit is contained in:
Alex Neundorf 2014-02-07 00:23:31 +01:00
parent 6abdc6c16a
commit cab5ebd497
2 changed files with 2 additions and 0 deletions

View File

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

View File

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