summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-02 16:42:44 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commit9ae9f3e77e375c143e5200624f12d15e2bba02d4 (patch)
tree4f2aa8905e8b84932de29357b4f48bfbb260ae93 /Source/cmCommands.cxx
parentceab7bda44b06fc6fdb842b7a51ccc662c907fb9 (diff)
downloadCMake-9ae9f3e77e375c143e5200624f12d15e2bba02d4.zip
CMake-9ae9f3e77e375c143e5200624f12d15e2bba02d4.tar.gz
CMake-9ae9f3e77e375c143e5200624f12d15e2bba02d4.tar.bz2
cmCommand refactor: cmMacroCommand
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",