diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-07-25 16:46:18 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 14:42:19 -0400 |
commit | dc629b5d97cd5486b2b0b385680a163e594922ae (patch) | |
tree | cc77de897a01d30358c464a77d4aa517da02e015 /Source/cmCommands.cxx | |
parent | e6a27adf9f1a17f13c5af888f778fde4cddebfac (diff) | |
download | cmake-dc629b5d97cd5486b2b0b385680a163e594922ae.tar.gz |
cmCommand refactor: cmCMakeMinimumRequired
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 3 |
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", |