|
|
@@ -1172,6 +1172,12 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure)
|
|
|
|
|
|
std::string pre_load = this->GetHomeDirectory();
|
|
|
pre_load += "/PreLoad.cmake";
|
|
|
+ if ( cmSystemTools::FileExists(pre_load.c_str()) )
|
|
|
+ {
|
|
|
+ this->ReadListFile(pre_load.c_str());
|
|
|
+ }
|
|
|
+ pre_load = this->GetHomeOutputDirectory();
|
|
|
+ pre_load += "/PreLoad.cmake";
|
|
|
if ( cmSystemTools::FileExists(pre_load.c_str()) )
|
|
|
{
|
|
|
this->ReadListFile(pre_load.c_str());
|