summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 18:31:29 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:19 -0400
commit2b58ae75773ff826bb1c3e6c5a3bad31c5292f00 (patch)
tree15794e281f1a755a511568f2621f880cb97bc2f5 /Source/cmCommands.cxx
parent5b40a872dd2d50e2c72c76df79ce087403daa37d (diff)
downloadcmake-2b58ae75773ff826bb1c3e6c5a3bad31c5292f00.tar.gz
cmCommand refactor: cmMarkAsAdvancedCommand
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 e50f1a0359..6dd3e92296 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -147,8 +147,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("list", cmListCommand);
state->AddBuiltinCommand("macro", cmMacroCommand);
state->AddBuiltinCommand("make_directory", cmMakeDirectoryCommand);
- state->AddBuiltinCommand("mark_as_advanced",
- cm::make_unique<cmMarkAsAdvancedCommand>());
+ state->AddBuiltinCommand("mark_as_advanced", cmMarkAsAdvancedCommand);
state->AddBuiltinCommand("math", cm::make_unique<cmMathCommand>());
state->AddBuiltinCommand("message", cm::make_unique<cmMessageCommand>());
state->AddBuiltinCommand("option", cm::make_unique<cmOptionCommand>());