summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 17:11:41 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:20 (GMT)
commitb316d0d417761dc16d6d7b6ae41ac56b4509b949 (patch)
tree66044d4da1509c14cd9af03ff7781c482c667286 /Source/cmCommands.cxx
parentb3aa789630c6411300080ec05d58e6cd9dcb7a2b (diff)
downloadCMake-b316d0d417761dc16d6d7b6ae41ac56b4509b949.zip
CMake-b316d0d417761dc16d6d7b6ae41ac56b4509b949.tar.gz
CMake-b316d0d417761dc16d6d7b6ae41ac56b4509b949.tar.bz2
cmCommand refactor: cmSiteNameCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index da266c3..560c4cc 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -159,7 +159,7 @@ void GetScriptingCommands(cmState* state)
cm::make_unique<cmSetDirectoryPropertiesCommand>());
state->AddBuiltinCommand("set_property",
cm::make_unique<cmSetPropertyCommand>());
- state->AddBuiltinCommand("site_name", cm::make_unique<cmSiteNameCommand>());
+ state->AddBuiltinCommand("site_name", cmSiteNameCommand);
state->AddBuiltinCommand("string", cm::make_unique<cmStringCommand>());
state->AddBuiltinCommand("unset", cm::make_unique<cmUnsetCommand>());
state->AddBuiltinCommand("while", cmWhileCommand);