summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-09 09:54:15 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:20 (GMT)
commitca3b9186bb0830b26765bd764d5d9d69cf93e33d (patch)
tree10285ef8aab9c39e02159395de4f2972f47a9832 /Source/cmCommands.cxx
parentb1acc711f4cdf62a850c09a85256482db2e2af2e (diff)
downloadCMake-ca3b9186bb0830b26765bd764d5d9d69cf93e33d.zip
CMake-ca3b9186bb0830b26765bd764d5d9d69cf93e33d.tar.gz
CMake-ca3b9186bb0830b26765bd764d5d9d69cf93e33d.tar.bz2
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 6a3af27..0fa2529 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>());