Merge topic 'gnu-isystem-flag-issue-12258'
33f5a83
GNU: Fix CMAKE_INCLUDE_SYSTEM_FLAG_<lang> value (#12258)
This commit is contained in:
commit
0373e08f15
|
@ -33,6 +33,6 @@ macro(__compiler_gnu lang)
|
|||
set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE "<CMAKE_${lang}_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
||||
set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE "<CMAKE_${lang}_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
|
||||
if(NOT APPLE)
|
||||
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ")
|
||||
set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
|
||||
endif(NOT APPLE)
|
||||
endmacro()
|
||||
|
|
Loading…
Reference in New Issue