summaryrefslogtreecommitdiff
path: root/Source/cmReturnCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmReturnCommand.cxx')
-rw-r--r--Source/cmReturnCommand.cxx20
1 files changed, 6 insertions, 14 deletions
diff --git a/Source/cmReturnCommand.cxx b/Source/cmReturnCommand.cxx
index 51cc83fcd..ceea8b4d9 100644
--- a/Source/cmReturnCommand.cxx
+++ b/Source/cmReturnCommand.cxx
@@ -1,21 +1,13 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmReturnCommand.h"
+#include "cmExecutionStatus.h"
+
// cmReturnCommand
bool cmReturnCommand::InitialPass(std::vector<std::string> const&,
- cmExecutionStatus &status)
+ cmExecutionStatus& status)
{
- status.SetReturnInvoked(true);
+ status.SetReturnInvoked();
return true;
}
-