summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 15:13:14 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commit5b40a872dd2d50e2c72c76df79ce087403daa37d (patch)
tree83c30e9b3c202fefb383c4811a2d7640f6ba6a36 /Source/cmCommands.cxx
parente0b7ff4af2a8f5a2c2f746c0976cd22367212c8a (diff)
downloadCMake-5b40a872dd2d50e2c72c76df79ce087403daa37d.zip
CMake-5b40a872dd2d50e2c72c76df79ce087403daa37d.tar.gz
CMake-5b40a872dd2d50e2c72c76df79ce087403daa37d.tar.bz2
cmCommand refactor: cmMakeDirectoryCommand
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 285c48e..e50f1a0 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -146,8 +146,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("include_guard", cmIncludeGuardCommand);
state->AddBuiltinCommand("list", cmListCommand);
state->AddBuiltinCommand("macro", cmMacroCommand);
- state->AddBuiltinCommand("make_directory",
- cm::make_unique<cmMakeDirectoryCommand>());
+ state->AddBuiltinCommand("make_directory", cmMakeDirectoryCommand);
state->AddBuiltinCommand("mark_as_advanced",
cm::make_unique<cmMarkAsAdvancedCommand>());
state->AddBuiltinCommand("math", cm::make_unique<cmMathCommand>());