diff options
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 5 |
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>()); |