summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 08:24:55 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 16:16:17 (GMT)
commit706400d417e6435a442af2626a8430016e24aa9d (patch)
tree82de4249f36b7c59c3b89181ca385a8b0d908f82 /Source/cmCommands.cxx
parent7f8699026211c6a3055e767125021a91da4b1393 (diff)
downloadCMake-706400d417e6435a442af2626a8430016e24aa9d.zip
CMake-706400d417e6435a442af2626a8430016e24aa9d.tar.gz
CMake-706400d417e6435a442af2626a8430016e24aa9d.tar.bz2
cmRemoveDefinitionsCommand: 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 f8a0141..03aed81 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -291,8 +291,7 @@ void GetProjectCommands(cmState* state)
cm::make_unique<cmLoadCacheCommand>());
state->AddBuiltinCommand("qt_wrap_cpp", cmQTWrapCPPCommand);
state->AddBuiltinCommand("qt_wrap_ui", cmQTWrapUICommand);
- state->AddBuiltinCommand("remove_definitions",
- cm::make_unique<cmRemoveDefinitionsCommand>());
+ state->AddBuiltinCommand("remove_definitions", cmRemoveDefinitionsCommand);
state->AddBuiltinCommand("source_group",
cm::make_unique<cmSourceGroupCommand>());