diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-10 14:44:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-12-11 14:30:12 (GMT) |
commit | 2fcafbf613f07d6b2484a1dfdb6ba7cd2fc4a645 (patch) | |
tree | 0e70331ff40bf26f6954488993f726881924d9c1 /Source/cmLocalGenerator.h | |
parent | a54eeddaae8c30a6cdc71eb81d7f968147a7e4dc (diff) | |
download | CMake-2fcafbf613f07d6b2484a1dfdb6ba7cd2fc4a645.zip CMake-2fcafbf613f07d6b2484a1dfdb6ba7cd2fc4a645.tar.gz CMake-2fcafbf613f07d6b2484a1dfdb6ba7cd2fc4a645.tar.bz2 |
cmLocalGenerator: Constify target definitions access
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 9a89f0f..ad662d5 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -224,8 +224,9 @@ public: bool stripImplicitInclDirs = true); void AddCompileOptions(std::string& flags, cmTarget* target, const char* lang, const char* config); - void AddCompileDefinitions(std::set<std::string>& defines, cmTarget* target, - const char* config); + void AddCompileDefinitions(std::set<std::string>& defines, + cmTarget const* target, + const char* config); /** Compute the language used to compile the given source file. */ const char* GetSourceFileLanguage(const cmSourceFile& source); |