summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-18 17:35:37 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-21 05:12:54 +0200
commit9c521088df3c45764fd9bfc1c10c9bfe63b63e78 (patch)
tree9f8019bf2cebfdcd121a4494a2b73fdc501351d0 /Source/cmCommands.cxx
parentfcfec154acea01518aa436d76f576d7cfea65fa2 (diff)
downloadcmake-9c521088df3c45764fd9bfc1c10c9bfe63b63e78.tar.gz
cmLoadCacheCommand: Port away from cmCommand
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 aba092ef19..a975856c8e 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -284,8 +284,7 @@ void GetProjectCommands(cmState* state)
cm::make_unique<cmTargetLinkOptionsCommand>());
state->AddBuiltinCommand("target_link_directories",
cm::make_unique<cmTargetLinkDirectoriesCommand>());
- state->AddBuiltinCommand("load_cache",
- cm::make_unique<cmLoadCacheCommand>());
+ state->AddBuiltinCommand("load_cache", cmLoadCacheCommand);
state->AddBuiltinCommand("qt_wrap_cpp", cmQTWrapCPPCommand);
state->AddBuiltinCommand("qt_wrap_ui", cmQTWrapUICommand);
state->AddBuiltinCommand("remove_definitions", cmRemoveDefinitionsCommand);