summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-06-14 17:23:28 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-06-14 17:23:28 (GMT)
commit0373e08f154b69bb3c1f301aacd669e22c8b66f9 (patch)
tree64438031c46261a93afe5158b02d1b941b453ab5 /Modules
parentbe555a042e319792ed0be02451203814cf35bd8a (diff)
parent33f5a83a5d7aa4c5a021c33a3fa55069da5eeed8 (diff)
downloadCMake-0373e08f154b69bb3c1f301aacd669e22c8b66f9.zip
CMake-0373e08f154b69bb3c1f301aacd669e22c8b66f9.tar.gz
CMake-0373e08f154b69bb3c1f301aacd669e22c8b66f9.tar.bz2
Merge topic 'gnu-isystem-flag-issue-12258'
33f5a83 GNU: Fix CMAKE_INCLUDE_SYSTEM_FLAG_<lang> value (#12258)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU.cmake b/Modules/Compiler/GNU.cmake
index 0bb31f9..8d6f5df 100644
--- a/Modules/Compiler/GNU.cmake
+++ b/Modules/Compiler/GNU.cmake
@@ -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()