summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index aafbf14..08bf182 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -145,7 +145,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("include", cmIncludeCommand);
state->AddBuiltinCommand("include_guard", cmIncludeGuardCommand);
state->AddBuiltinCommand("list", cm::make_unique<cmListCommand>());
- state->AddBuiltinCommand("macro", cm::make_unique<cmMacroCommand>());
+ state->AddBuiltinCommand("macro", cmMacroCommand);
state->AddBuiltinCommand("make_directory",
cm::make_unique<cmMakeDirectoryCommand>());
state->AddBuiltinCommand("mark_as_advanced",