summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 12:42:52 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commite0b7ff4af2a8f5a2c2f746c0976cd22367212c8a (patch)
tree470564fb9166a8735d6ef58615bdd2868e60dfbe /Source/cmCommands.cxx
parent9ae9f3e77e375c143e5200624f12d15e2bba02d4 (diff)
downloadCMake-e0b7ff4af2a8f5a2c2f746c0976cd22367212c8a.zip
CMake-e0b7ff4af2a8f5a2c2f746c0976cd22367212c8a.tar.gz
CMake-e0b7ff4af2a8f5a2c2f746c0976cd22367212c8a.tar.bz2
cmCommand refactor: cmListCommand
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 08bf182..285c48e 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -144,7 +144,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("if", cmIfCommand);
state->AddBuiltinCommand("include", cmIncludeCommand);
state->AddBuiltinCommand("include_guard", cmIncludeGuardCommand);
- state->AddBuiltinCommand("list", cm::make_unique<cmListCommand>());
+ state->AddBuiltinCommand("list", cmListCommand);
state->AddBuiltinCommand("macro", cmMacroCommand);
state->AddBuiltinCommand("make_directory",
cm::make_unique<cmMakeDirectoryCommand>());