summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-09 11:54:15 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:20 -0400
commitca3b9186bb0830b26765bd764d5d9d69cf93e33d (patch)
tree10285ef8aab9c39e02159395de4f2972f47a9832 /Source/cmCommands.cxx
parentb1acc711f4cdf62a850c09a85256482db2e2af2e (diff)
downloadcmake-ca3b9186bb0830b26765bd764d5d9d69cf93e33d.tar.gz
cmCommand refactor: cmVariableWatchCommand
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 6a3af27e93..0fa2529418 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -203,8 +203,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("cmake_host_system_information",
cmCMakeHostSystemInformationCommand);
state->AddBuiltinCommand("remove", cmRemoveCommand);
- state->AddBuiltinCommand("variable_watch",
- cm::make_unique<cmVariableWatchCommand>());
+ state->AddBuiltinCommand("variable_watch", cmVariableWatchCommand);
state->AddBuiltinCommand("write_file",
cm::make_unique<cmWriteFileCommand>());