summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-07 19:25:29 +0200
committerStephen Kelly <steveire@gmail.com>2015-10-10 11:04:39 +0200
commita367416cec8297c5a567825217b933f4539a44e4 (patch)
tree54d57c0bfd583f97699c7dad5e4d218f16689e20 /Source/cmLocalVisualStudio7Generator.cxx
parentbbef3c2da83b7a69d1f99b21dc92d5506d98fb35 (diff)
downloadcmake-a367416cec8297c5a567825217b933f4539a44e4.tar.gz
cmLocalGenerator: Add current source directory accessor.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index a94113a62a..082b7c3d20 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -282,7 +282,7 @@ cmSourceFile* cmLocalVisualStudio7Generator::CreateVCProjBuildRule()
stampName += "generate.stamp";
cmCustomCommandLine commandLine;
commandLine.push_back(cmSystemTools::GetCMakeCommand());
- std::string makefileIn = this->Makefile->GetCurrentSourceDirectory();
+ std::string makefileIn = this->GetCurrentSourceDirectory();
makefileIn += "/";
makefileIn += "CMakeLists.txt";
makefileIn = cmSystemTools::CollapseFullPath(makefileIn.c_str());