summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-21 17:59:12 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-24 07:19:53 (GMT)
commit4c41e74da58b6f1057466e7eaa22942dc62c8802 (patch)
treeab7a818a41af9a6d3788c3cca3760ca24b758c63 /Source/cmCommonTargetGenerator.cxx
parent67b2f4312c431eb363dd94a2bb5d88cc6c8a7c95 (diff)
downloadCMake-4c41e74da58b6f1057466e7eaa22942dc62c8802.zip
CMake-4c41e74da58b6f1057466e7eaa22942dc62c8802.tar.gz
CMake-4c41e74da58b6f1057466e7eaa22942dc62c8802.tar.bz2
Use cmLocalGenerator at generate-time.
Diffstat (limited to 'Source/cmCommonTargetGenerator.cxx')
-rw-r--r--Source/cmCommonTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx
index 6920faf..2c47ab2 100644
--- a/Source/cmCommonTargetGenerator.cxx
+++ b/Source/cmCommonTargetGenerator.cxx
@@ -123,7 +123,7 @@ std::string cmCommonTargetGenerator::ComputeFortranModuleDirectory() const
else
{
// Interpret relative to the current output directory.
- mod_dir = this->Makefile->GetCurrentBinaryDirectory();
+ mod_dir = this->LocalGenerator->GetCurrentBinaryDirectory();
mod_dir += "/";
mod_dir += target_mod_dir;
}