summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-18 15:35:37 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-21 03:12:54 (GMT)
commit9c521088df3c45764fd9bfc1c10c9bfe63b63e78 (patch)
tree9f8019bf2cebfdcd121a4494a2b73fdc501351d0 /Source/cmCommands.cxx
parentfcfec154acea01518aa436d76f576d7cfea65fa2 (diff)
downloadCMake-9c521088df3c45764fd9bfc1c10c9bfe63b63e78.zip
CMake-9c521088df3c45764fd9bfc1c10c9bfe63b63e78.tar.gz
CMake-9c521088df3c45764fd9bfc1c10c9bfe63b63e78.tar.bz2
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 aba092e..a975856 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);