mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
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:
@@ -1,2 +1,3 @@
|
||||
include(Platform/Linux-Intel)
|
||||
__linux_compiler_intel(C)
|
||||
set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem ")
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
include(Platform/Linux-Intel)
|
||||
__linux_compiler_intel(CXX)
|
||||
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ")
|
||||
|
||||
Reference in New Issue
Block a user