diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 4b8d711ea..0d6611329 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -641,6 +641,9 @@ void cmGlobalGenerator::LocalGenerate() // start with this directory cmLocalGenerator *lg = this->CreateLocalGenerator(); + // Setup relative path generation. + this->ConfigureRelativePaths(); + // set the Start directories lg->GetMakefile()->SetStartDirectory(m_CMakeInstance->GetStartDirectory()); lg->GetMakefile()->SetStartOutputDirectory(m_CMakeInstance->GetStartOutputDirectory());