summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-21 20:49:22 +0200
committerBrad King <brad.king@kitware.com>2019-08-26 11:48:43 -0400
commitc2c222eba13476a95a362731528d85a3e76ed83a (patch)
tree7f895e66295b3b82ceab8c1d9a7547d356e5c2fc /Source/cmCommands.cxx
parent7533e47cccb8828885de518e40d58b629200d23d (diff)
downloadcmake-c2c222eba13476a95a362731528d85a3e76ed83a.tar.gz
cmCommand refactor: cmOutputRequiredFilesCommand
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 6f79c9ad8d..cd1b5af822 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -317,8 +317,7 @@ void GetProjectCommands(cmState* state)
"load_command", cmLoadCommandCommand, cmPolicies::CMP0031,
"The load_command command should not be called; see CMP0031.");
state->AddDisallowedCommand(
- "output_required_files", cm::make_unique<cmOutputRequiredFilesCommand>(),
- cmPolicies::CMP0032,
+ "output_required_files", cmOutputRequiredFilesCommand, cmPolicies::CMP0032,
"The output_required_files command should not be called; see CMP0032.");
state->AddDisallowedCommand(
"subdir_depends", cm::make_unique<cmSubdirDependsCommand>(),