summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-26 14:16:16 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-26 14:16:16 (GMT)
commit8c3290b4a3d16808bc49a1365c7ea792e64996ee (patch)
tree857b89ad9e8de9f0bfc61ae87970c2a0d6894747 /Source/cmLocalGenerator.h
parent3498a8c66864dd5caddf770b8fe6ff24b2b61415 (diff)
downloadCMake-8c3290b4a3d16808bc49a1365c7ea792e64996ee.zip
CMake-8c3290b4a3d16808bc49a1365c7ea792e64996ee.tar.gz
CMake-8c3290b4a3d16808bc49a1365c7ea792e64996ee.tar.bz2
BUG: Use new include dir suppresson for all gens
This fixes CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to be used for all generators instead of just those that construct their own compiler command lines directly. See issue #8598.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 75da316..e75ddae 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -189,7 +189,8 @@ public:
{ return true; }
/** Get the include flags for the current makefile and language. */
- void GetIncludeDirectories(std::vector<std::string>& dirs);
+ void GetIncludeDirectories(std::vector<std::string>& dirs,
+ const char* lang = "C");
/** Compute the language used to compile the given source file. */
const char* GetSourceFileLanguage(const cmSourceFile& source);