summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetIncludeDirectoriesCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-16 18:06:54 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-20 22:15:20 (GMT)
commit32b8f03acc0357121ec8f2b96599d5eeaf38c0b4 (patch)
treea49a10b084858882573ce83bb0e2db5bc2cea9f3 /Source/cmTargetIncludeDirectoriesCommand.cxx
parent54d6a9187f24bbff9e344d8aa6b3c0d66167094d (diff)
downloadCMake-32b8f03acc0357121ec8f2b96599d5eeaf38c0b4.zip
CMake-32b8f03acc0357121ec8f2b96599d5eeaf38c0b4.tar.gz
CMake-32b8f03acc0357121ec8f2b96599d5eeaf38c0b4.tar.bz2
cmMakefile: Port users of GetStart* methods to new names.
Diffstat (limited to 'Source/cmTargetIncludeDirectoriesCommand.cxx')
-rw-r--r--Source/cmTargetIncludeDirectoriesCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTargetIncludeDirectoriesCommand.cxx b/Source/cmTargetIncludeDirectoriesCommand.cxx
index b638e57..24500db 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.cxx
+++ b/Source/cmTargetIncludeDirectoriesCommand.cxx
@@ -47,7 +47,8 @@ std::string cmTargetIncludeDirectoriesCommand
{
std::string dirs;
std::string sep;
- std::string prefix = this->Makefile->GetStartDirectory() + std::string("/");
+ std::string prefix =
+ this->Makefile->GetCurrentSourceDirectory() + std::string("/");
for(std::vector<std::string>::const_iterator it = content.begin();
it != content.end(); ++it)
{