summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-16 19:33:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-20 22:12:52 (GMT)
commit54d6a9187f24bbff9e344d8aa6b3c0d66167094d (patch)
tree38e6b82b92d62335a89cdc5b59835cc94c33f052 /Source/cmExportCommand.cxx
parent55d80d0a8557189400bc12c5e577702a4d03b2e6 (diff)
downloadCMake-54d6a9187f24bbff9e344d8aa6b3c0d66167094d.zip
CMake-54d6a9187f24bbff9e344d8aa6b3c0d66167094d.tar.gz
CMake-54d6a9187f24bbff9e344d8aa6b3c0d66167094d.tar.bz2
cmMakefile: Rename GetCurrent{Output,Binary}Directory.
Match names used in CMake code.
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r--Source/cmExportCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 76283d4..06541c0 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -113,7 +113,7 @@ bool cmExportCommand
else
{
// Interpret relative paths with respect to the current build dir.
- std::string dir = this->Makefile->GetCurrentOutputDirectory();
+ std::string dir = this->Makefile->GetCurrentBinaryDirectory();
fname = dir + "/" + fname;
}
@@ -295,7 +295,7 @@ bool cmExportCommand::HandlePackage(std::vector<std::string> const& args)
// We store the current build directory in the registry as a value
// named by a hash of its own content. This is deterministic and is
// unique with high probability.
- const char* outDir = this->Makefile->GetCurrentOutputDirectory();
+ const char* outDir = this->Makefile->GetCurrentBinaryDirectory();
std::string hash = cmSystemTools::ComputeStringMD5(outDir);
#if defined(_WIN32) && !defined(__CYGWIN__)
this->StorePackageRegistryWin(package, outDir, hash.c_str());