diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmake.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index e5d5983..716f59d 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -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(); |