summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-25 16:49:35 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:19 -0400
commit01949a02df765cc4ad273b6163622f55d4f569ca (patch)
tree7de40eb16522085d052db75997f9bcd197262f05 /Source/cmCommands.cxx
parentdc629b5d97cd5486b2b0b385680a163e594922ae (diff)
downloadcmake-01949a02df765cc4ad273b6163622f55d4f569ca.tar.gz
cmCommand refactor: cmConfigureFileCommand
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 996ce97367..3e7fa721c7 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -120,8 +120,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("cmake_minimum_required", cmCMakeMinimumRequired);
state->AddBuiltinCommand("cmake_policy",
cm::make_unique<cmCMakePolicyCommand>());
- state->AddBuiltinCommand("configure_file",
- cm::make_unique<cmConfigureFileCommand>());
+ state->AddBuiltinCommand("configure_file", cmConfigureFileCommand);
state->AddBuiltinCommand("continue", cm::make_unique<cmContinueCommand>());
state->AddBuiltinCommand("exec_program",
cm::make_unique<cmExecProgramCommand>());