diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-08-22 16:10:56 +0200 |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-09-03 23:10:01 +0200 |
commit | 838a5fae23cba0c9acf922164ff89fb6883d0f96 (patch) | |
tree | 27cf344771ff7266aa70cbf4ab3ddcba1d653a19 /Source/cmMakefile.cxx | |
parent | 8f0e1f2111c046aaa240a54c211404747c911698 (diff) | |
download | cmake-838a5fae23cba0c9acf922164ff89fb6883d0f96.tar.gz |
return(): Propagate variables to result scope
Fixes: #23871
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 51a4b3b7ee..760ed5f35c 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -789,6 +789,7 @@ void cmMakefile::RunListFile(cmListFile const& listFile, break; } if (status.GetReturnInvoked()) { + this->RaiseScope(status.GetReturnVariables()); // Exit early due to return command. break; } |