summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-05 17:15:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-05 17:22:02 (GMT)
commitf7738fd122ac38fb3785e6366193fe5095b23b88 (patch)
tree5a80db0ce67d8d092671499741eea02b5baa16ab
parentb2054e1661e5c607cf25e1ac127982f58e29dd44 (diff)
downloadCMake-f7738fd122ac38fb3785e6366193fe5095b23b88.zip
CMake-f7738fd122ac38fb3785e6366193fe5095b23b88.tar.gz
CMake-f7738fd122ac38fb3785e6366193fe5095b23b88.tar.bz2
cmLocalGenerator: Constify target in API.
-rw-r--r--Source/cmLocalGenerator.cxx2
-rw-r--r--Source/cmLocalGenerator.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 3230403..b26151c 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1180,7 +1180,7 @@ void cmLocalGenerator::AddCompileOptions(
//----------------------------------------------------------------------------
void cmLocalGenerator::GetIncludeDirectories(std::vector<std::string>& dirs,
- cmGeneratorTarget* target,
+ cmGeneratorTarget const* target,
const std::string& lang,
const std::string& config,
bool stripImplicitInclDirs
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 6ea414a..33fede1 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -171,7 +171,7 @@ public:
/** Get the include flags for the current makefile and language. */
void GetIncludeDirectories(std::vector<std::string>& dirs,
- cmGeneratorTarget* target,
+ cmGeneratorTarget const* target,
const std::string& lang = "C",
const std::string& config = "",
bool stripImplicitInclDirs = true) const;