summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-02 16:35:08 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commitceab7bda44b06fc6fdb842b7a51ccc662c907fb9 (patch)
tree10a24015fe8128ea7631cc1208bfef442ab5c145 /Source/cmCommands.cxx
parentf42dad7a5e8656b8eee9b9b928ab3ce9ba90fbf8 (diff)
downloadCMake-ceab7bda44b06fc6fdb842b7a51ccc662c907fb9.zip
CMake-ceab7bda44b06fc6fdb842b7a51ccc662c907fb9.tar.gz
CMake-ceab7bda44b06fc6fdb842b7a51ccc662c907fb9.tar.bz2
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 b6008f5..aafbf14 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",