summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-25 15:01:45 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commit0d87f5d83e52ceb72f754331a9fd3d7189680297 (patch)
treefae2a6886cc53008a9ff63a6565ea51630d5e2ab /Source/cmCommands.cxx
parent0005e17d504fd50ebaec3860f4f213765e815b13 (diff)
downloadCMake-0d87f5d83e52ceb72f754331a9fd3d7189680297.zip
CMake-0d87f5d83e52ceb72f754331a9fd3d7189680297.tar.gz
CMake-0d87f5d83e52ceb72f754331a9fd3d7189680297.tar.bz2
cmCommand refactor: cmExecProgramCommand
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 429a599..0f73293 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -122,8 +122,7 @@ void GetScriptingCommands(cmState* state)
cm::make_unique<cmCMakePolicyCommand>());
state->AddBuiltinCommand("configure_file", cmConfigureFileCommand);
state->AddBuiltinCommand("continue", cmContinueCommand);
- state->AddBuiltinCommand("exec_program",
- cm::make_unique<cmExecProgramCommand>());
+ state->AddBuiltinCommand("exec_program", cmExecProgramCommand);
state->AddBuiltinCommand("execute_process",
cm::make_unique<cmExecuteProcessCommand>());
state->AddBuiltinCommand("file", cmFileCommand);