mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-12 23:43:59 +03:00
cmMakefile: Internalize setting of CMakeInstance on Properties.
This commit is contained in:
1 parent
7bb4e3db06
commit
fca2b542b4
2 files changed
+1
-1
No files matched your search
@@ -252,7 +252,6 @@ void cmLocalGenerator::SetGlobalGenerator(cmGlobalGenerator *gg)
|
||||
this->Makefile->SetLocalGenerator(this);
|
||||
|
||||
// setup the home directories
|
||||
this->Makefile->GetProperties().SetCMakeInstance(gg->GetCMakeInstance());
|
||||
this->Makefile->SetHomeDirectory(
|
||||
gg->GetCMakeInstance()->GetHomeDirectory());
|
||||
this->Makefile->SetHomeOutputDirectory(
|
||||
|
||||
@@ -741,6 +741,7 @@ void cmMakefile::SetLocalGenerator(cmLocalGenerator* lg)
|
||||
this->AddSourceGroup("Object Files", "\\.(lo|o|obj)$");
|
||||
#endif
|
||||
|
||||
this->Properties.SetCMakeInstance(this->GetCMakeInstance());
|
||||
this->WarnUnused = this->GetCMakeInstance()->GetWarnUnused();
|
||||
this->CheckSystemVars = this->GetCMakeInstance()->GetCheckSystemVars();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user