summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-09 09:48:01 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:20 (GMT)
commit413a960391291678f216fe3d2bbfbd3fdca84168 (patch)
tree97d140067024c88e49a34c29ea675f7b6ad635da /Source/cmCommands.cxx
parentc33c52bb327d448868cff6aff6d83c786bc81e7e (diff)
downloadCMake-413a960391291678f216fe3d2bbfbd3fdca84168.zip
CMake-413a960391291678f216fe3d2bbfbd3fdca84168.tar.gz
CMake-413a960391291678f216fe3d2bbfbd3fdca84168.tar.bz2
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 6b0af79..ff21df8 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>());