diff options
author | JinWang An <jinwang.an@samsung.com> | 2022-12-27 17:20:24 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2022-12-27 17:20:24 +0900 |
commit | 58664688bb50990e7aa416a6d1ac4939fa589198 (patch) | |
tree | d37c80132bb51650ff7c70688c4ac572af42af30 /Source/cmWhileCommand.cxx | |
parent | df9806c0f5714ed294007ad149c001a983d1a73f (diff) | |
download | cmake-58664688bb50990e7aa416a6d1ac4939fa589198.tar.gz cmake-58664688bb50990e7aa416a6d1ac4939fa589198.tar.bz2 cmake-58664688bb50990e7aa416a6d1ac4939fa589198.zip |
Imported Upstream version 3.25.0upstream/3.25.0
Diffstat (limited to 'Source/cmWhileCommand.cxx')
-rw-r--r-- | Source/cmWhileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx index fb9427398..e80d1fcf0 100644 --- a/Source/cmWhileCommand.cxx +++ b/Source/cmWhileCommand.cxx @@ -96,7 +96,7 @@ bool cmWhileFunctionBlocker::Replay(std::vector<cmListFileFunction> functions, cmExecutionStatus status(mf); mf.ExecuteCommand(fn, status); if (status.GetReturnInvoked()) { - inStatus.SetReturnInvoked(); + inStatus.SetReturnInvoked(status.GetReturnVariables()); return true; } if (status.GetBreakInvoked()) { |