BUG: Need to return before configure step when running in script mode.

This commit is contained in:
Brad King 2005-02-22 09:08:02 -05:00
parent 653bf6c25c
commit 832fa0e609
1 changed files with 6 additions and 0 deletions

View File

@ -1269,6 +1269,12 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure)
return -1;
}
// In script mode we terminate after running the script.
if(m_ScriptMode)
{
return 0;
}
this->PreLoadCMakeFiles();
std::string systemFile = this->GetHomeOutputDirectory();