diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-22 22:40:27 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-22 23:08:18 (GMT) |
commit | ee38062be8ccdb7f4c53156ef00db0d42a41a6a7 (patch) | |
tree | 00ecedc8bcceb7bf2a548f0ee4e34ce69cc0f83e /Source/cmMakefileTargetGenerator.cxx | |
parent | 98bf613cd09e2187fa5002dac06e63d5450dbcf0 (diff) | |
download | CMake-ee38062be8ccdb7f4c53156ef00db0d42a41a6a7.zip CMake-ee38062be8ccdb7f4c53156ef00db0d42a41a6a7.tar.gz CMake-ee38062be8ccdb7f4c53156ef00db0d42a41a6a7.tar.bz2 |
IncludeDirectories: Respect SYSTEM flag when using CONFIG genex.
Update the Makefile and Ninja generators to use the config when
requesting the include flags.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index f8471fd..7ed0c10 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1870,7 +1870,8 @@ void cmMakefileTargetGenerator::AddIncludeFlags(std::string& flags, std::string includeFlags = this->LocalGenerator->GetIncludeFlags(includes, this->GeneratorTarget, - lang, false, useResponseFile); + lang, false, useResponseFile, + config); if(includeFlags.empty()) { return; |