summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 10:06:03 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 18:16:17 +0200
commitf717e1fccf2968ffeba36dc84e428abd4f8db5c0 (patch)
treef5cc998f263f96dd045f3b72ee031dc6845ace20 /Source/cmCommands.cxx
parentf0ecb123981c6b383a55f7d75e023cf4310f2074 (diff)
downloadcmake-f717e1fccf2968ffeba36dc84e428abd4f8db5c0.tar.gz
cmCreateTestSourceList: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index 1f6b1a2cc3..f675a935e6 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -223,8 +223,7 @@ void GetProjectCommands(cmState* state)
state->AddBuiltinCommand("add_subdirectory", cmAddSubDirectoryCommand);
state->AddBuiltinCommand("add_test", cmAddTestCommand);
state->AddBuiltinCommand("build_command", cmBuildCommand);
- state->AddBuiltinCommand("create_test_sourcelist",
- cm::make_unique<cmCreateTestSourceList>());
+ state->AddBuiltinCommand("create_test_sourcelist", cmCreateTestSourceList);
state->AddBuiltinCommand("define_property",
cm::make_unique<cmDefinePropertyCommand>());
state->AddBuiltinCommand("enable_language",