summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-25 14:46:18 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commitdc629b5d97cd5486b2b0b385680a163e594922ae (patch)
treecc77de897a01d30358c464a77d4aa517da02e015 /Source/cmCommands.cxx
parente6a27adf9f1a17f13c5af888f778fde4cddebfac (diff)
downloadCMake-dc629b5d97cd5486b2b0b385680a163e594922ae.zip
CMake-dc629b5d97cd5486b2b0b385680a163e594922ae.tar.gz
CMake-dc629b5d97cd5486b2b0b385680a163e594922ae.tar.bz2
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 540f1ac..996ce97 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",