summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-09 09:38:18 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:20 (GMT)
commitc33c52bb327d448868cff6aff6d83c786bc81e7e (patch)
tree821cc538d6e4ee13818477259d2f363634409c35 /Source/cmCommands.cxx
parentb316d0d417761dc16d6d7b6ae41ac56b4509b949 (diff)
downloadCMake-c33c52bb327d448868cff6aff6d83c786bc81e7e.zip
CMake-c33c52bb327d448868cff6aff6d83c786bc81e7e.tar.gz
CMake-c33c52bb327d448868cff6aff6d83c786bc81e7e.tar.bz2
cmCommand refactor: cmUnsetCommand
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 560c4cc..6b0af79 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -161,7 +161,7 @@ void GetScriptingCommands(cmState* state)
cm::make_unique<cmSetPropertyCommand>());
state->AddBuiltinCommand("site_name", cmSiteNameCommand);
state->AddBuiltinCommand("string", cm::make_unique<cmStringCommand>());
- state->AddBuiltinCommand("unset", cm::make_unique<cmUnsetCommand>());
+ state->AddBuiltinCommand("unset", cmUnsetCommand);
state->AddBuiltinCommand("while", cmWhileCommand);
state->AddUnexpectedCommand(