diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-02 16:35:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:19 (GMT) |
commit | ceab7bda44b06fc6fdb842b7a51ccc662c907fb9 (patch) | |
tree | 10a24015fe8128ea7631cc1208bfef442ab5c145 /Source/cmCommands.cxx | |
parent | f42dad7a5e8656b8eee9b9b928ab3ce9ba90fbf8 (diff) | |
download | CMake-ceab7bda44b06fc6fdb842b7a51ccc662c907fb9.zip CMake-ceab7bda44b06fc6fdb842b7a51ccc662c907fb9.tar.gz CMake-ceab7bda44b06fc6fdb842b7a51ccc662c907fb9.tar.bz2 |
cmCommand refactor: cmIncludeGuardCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 3 |
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", |