From 832fa0e6091c5c574fc60bfd67e0cf982c3b33d8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 22 Feb 2005 09:08:02 -0500 Subject: BUG: Need to return before configure step when running in script mode. --- Source/cmake.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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& 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(); -- cgit v0.12