summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-19 10:47:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-19 19:40:32 (GMT)
commit37554acf43f1a94f22b3b9fb8838d685ffa07194 (patch)
tree8159600851c4e2002085e3744139acdb725f803a /Source/cmMakefile.h
parent8841d738cc7be3f91e16d62e83c0cd7f2cb2f626 (diff)
downloadCMake-37554acf43f1a94f22b3b9fb8838d685ffa07194.zip
CMake-37554acf43f1a94f22b3b9fb8838d685ffa07194.tar.gz
CMake-37554acf43f1a94f22b3b9fb8838d685ffa07194.tar.bz2
cmMakefile: Make FindTarget const.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 76958ca..44aaa66 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -533,7 +533,7 @@ public:
this->GeneratorTargets = targets;
}
- cmTarget* FindTarget(const char* name, bool excludeAliases = false);
+ cmTarget* FindTarget(const char* name, bool excludeAliases = false) const;
/** Find a target to use in place of the given name. The target
returned may be imported or built within the project. */
@@ -902,7 +902,7 @@ protected:
std::string ProjectName; // project name
// libraries, classes, and executables
- cmTargets Targets;
+ mutable cmTargets Targets;
std::map<std::string, cmTarget*> AliasTargets;
cmGeneratorTargetsType GeneratorTargets;
std::vector<cmSourceFile*> SourceFiles;