diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-21 18:53:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-26 15:48:46 (GMT) |
commit | 185fa2c4f3e21542dd42bfb396fc8520d996772a (patch) | |
tree | 0fa55c90b2622083c0c7e956ed0d037d23471ff3 /Source/cmCommands.cxx | |
parent | c8deeac68f1462461a464acd6d2c2728b9a293c2 (diff) | |
download | CMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.zip CMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.tar.gz CMake-185fa2c4f3e21542dd42bfb396fc8520d996772a.tar.bz2 |
cmCommand refactor: cmUtilitySourceCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 3 |
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>(), |