summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-25 16:46:18 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:19 -0400
commitdc629b5d97cd5486b2b0b385680a163e594922ae (patch)
treecc77de897a01d30358c464a77d4aa517da02e015 /Source/cmCommands.cxx
parente6a27adf9f1a17f13c5af888f778fde4cddebfac (diff)
downloadcmake-dc629b5d97cd5486b2b0b385680a163e594922ae.tar.gz
cmCommand refactor: cmCMakeMinimumRequired
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index 540f1acf39..996ce97367 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -117,8 +117,7 @@
void GetScriptingCommands(cmState* state)
{
state->AddBuiltinCommand("break", cmBreakCommand);
- state->AddBuiltinCommand("cmake_minimum_required",
- cm::make_unique<cmCMakeMinimumRequired>());
+ state->AddBuiltinCommand("cmake_minimum_required", cmCMakeMinimumRequired);
state->AddBuiltinCommand("cmake_policy",
cm::make_unique<cmCMakePolicyCommand>());
state->AddBuiltinCommand("configure_file",