summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-25 14:40:33 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:18 (GMT)
commite6a27adf9f1a17f13c5af888f778fde4cddebfac (patch)
tree4c75c4a85e1c1d59d9dfc472e38371e7357b42e2 /Source/cmCommands.cxx
parent43fe736b2bf272647fb24b481bdc9a585c0666ac (diff)
downloadCMake-e6a27adf9f1a17f13c5af888f778fde4cddebfac.zip
CMake-e6a27adf9f1a17f13c5af888f778fde4cddebfac.tar.gz
CMake-e6a27adf9f1a17f13c5af888f778fde4cddebfac.tar.bz2
cmCommand refactor: cmBreakCommand
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 8565e1c..540f1ac 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -116,7 +116,7 @@
void GetScriptingCommands(cmState* state)
{
- state->AddBuiltinCommand("break", cm::make_unique<cmBreakCommand>());
+ state->AddBuiltinCommand("break", cmBreakCommand);
state->AddBuiltinCommand("cmake_minimum_required",
cm::make_unique<cmCMakeMinimumRequired>());
state->AddBuiltinCommand("cmake_policy",