mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
cmGlobalGenerator: Avoid cmLocalGenerator until after Configure.
This commit is contained in:
@@ -1134,17 +1134,17 @@ void cmGlobalGenerator::Configure()
|
||||
this->LocalGenerators.push_back(lg);
|
||||
|
||||
// set the Start directories
|
||||
lg->GetMakefile()->SetCurrentSourceDirectory
|
||||
dirMf->SetCurrentSourceDirectory
|
||||
(this->CMakeInstance->GetHomeDirectory());
|
||||
lg->GetMakefile()->SetCurrentBinaryDirectory
|
||||
dirMf->SetCurrentBinaryDirectory
|
||||
(this->CMakeInstance->GetHomeOutputDirectory());
|
||||
|
||||
this->BinaryDirectories.insert(
|
||||
this->CMakeInstance->GetHomeOutputDirectory());
|
||||
|
||||
// now do it
|
||||
lg->GetMakefile()->Configure();
|
||||
lg->GetMakefile()->EnforceDirectoryLevelRules();
|
||||
dirMf->Configure();
|
||||
dirMf->EnforceDirectoryLevelRules();
|
||||
|
||||
// update the cache entry for the number of local generators, this is used
|
||||
// for progress
|
||||
|
||||
Reference in New Issue
Block a user