summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-02 18:35:08 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:19 -0400
commitceab7bda44b06fc6fdb842b7a51ccc662c907fb9 (patch)
tree10a24015fe8128ea7631cc1208bfef442ab5c145 /Source/cmCommands.cxx
parentf42dad7a5e8656b8eee9b9b928ab3ce9ba90fbf8 (diff)
downloadcmake-ceab7bda44b06fc6fdb842b7a51ccc662c907fb9.tar.gz
cmCommand refactor: cmIncludeGuardCommand
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 b6008f54fd..aafbf14d59 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -143,8 +143,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("get_property", cmGetPropertyCommand);
state->AddBuiltinCommand("if", cmIfCommand);
state->AddBuiltinCommand("include", cmIncludeCommand);
- state->AddBuiltinCommand("include_guard",
- cm::make_unique<cmIncludeGuardCommand>());
+ state->AddBuiltinCommand("include_guard", cmIncludeGuardCommand);
state->AddBuiltinCommand("list", cm::make_unique<cmListCommand>());
state->AddBuiltinCommand("macro", cm::make_unique<cmMacroCommand>());
state->AddBuiltinCommand("make_directory",