summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakePolicyCommand.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-01-11 19:46:12 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-11 20:00:51 (GMT)
commit9f48a468cd68d69e16302174ff202e9e51035023 (patch)
tree2fe4a4c3ba4b9eb2d6996014536faebd2036e458 /Source/cmCMakePolicyCommand.cxx
parente20560a2dc9668bb9fd55bea79ef7508ab72c746 (diff)
parent06dfa5a7b6c0174bfcb4691a9aaf00809bd7271d (diff)
downloadCMake-9f48a468cd68d69e16302174ff202e9e51035023.zip
CMake-9f48a468cd68d69e16302174ff202e9e51035023.tar.gz
CMake-9f48a468cd68d69e16302174ff202e9e51035023.tar.bz2
Merge branch 'master' into cmake-gui-qrc-fix
Diffstat (limited to 'Source/cmCMakePolicyCommand.cxx')
-rw-r--r--Source/cmCMakePolicyCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCMakePolicyCommand.cxx b/Source/cmCMakePolicyCommand.cxx
index b7f08d2..1f99043 100644
--- a/Source/cmCMakePolicyCommand.cxx
+++ b/Source/cmCMakePolicyCommand.cxx
@@ -191,8 +191,7 @@ bool HandleVersionMode(std::vector<std::string> const& args,
return false;
}
- status.GetMakefile().SetPolicyVersion(version_min, version_max);
- return true;
+ return status.GetMakefile().SetPolicyVersion(version_min, version_max);
}
bool HandleGetWarningMode(std::vector<std::string> const& args,