summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-21 18:53:52 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-26 15:48:46 (GMT)
commit185fa2c4f3e21542dd42bfb396fc8520d996772a (patch)
tree0fa55c90b2622083c0c7e956ed0d037d23471ff3 /Source/cmCommands.cxx
parentc8deeac68f1462461a464acd6d2c2728b9a293c2 (diff)
downloadCMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.zip
CMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.tar.gz
CMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.tar.bz2
cmCommand refactor: cmUtilitySourceCommand
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 f71be0d..ad14c6b 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -323,8 +323,7 @@ void GetProjectCommands(cmState* state)
"subdir_depends", cmSubdirDependsCommand, cmPolicies::CMP0029,
"The subdir_depends command should not be called; see CMP0029.");
state->AddDisallowedCommand(
- "utility_source", cm::make_unique<cmUtilitySourceCommand>(),
- cmPolicies::CMP0034,
+ "utility_source", cmUtilitySourceCommand, cmPolicies::CMP0034,
"The utility_source command should not be called; see CMP0034.");
state->AddDisallowedCommand(
"variable_requires", cm::make_unique<cmVariableRequiresCommand>(),