summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-09 11:48:01 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:20 -0400
commit413a960391291678f216fe3d2bbfbd3fdca84168 (patch)
tree97d140067024c88e49a34c29ea675f7b6ad635da /Source/cmCommands.cxx
parentc33c52bb327d448868cff6aff6d83c786bc81e7e (diff)
downloadcmake-413a960391291678f216fe3d2bbfbd3fdca84168.tar.gz
cmCommand refactor: cmCMakeHostSystemInformationCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index 6b0af79b7d..ff21df89aa 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -200,9 +200,8 @@ void GetScriptingCommands(cmState* state)
"match the opening WHILE command.");
#if !defined(CMAKE_BOOTSTRAP)
- state->AddBuiltinCommand(
- "cmake_host_system_information",
- cm::make_unique<cmCMakeHostSystemInformationCommand>());
+ state->AddBuiltinCommand("cmake_host_system_information",
+ cmCMakeHostSystemInformationCommand);
state->AddBuiltinCommand("remove", cm::make_unique<cmRemoveCommand>());
state->AddBuiltinCommand("variable_watch",
cm::make_unique<cmVariableWatchCommand>());