diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-21 18:04:45 (GMT) |
---|---|---|
committer | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-25 12:31:16 (GMT) |
commit | 7533e47cccb8828885de518e40d58b629200d23d (patch) | |
tree | fcdb96586094c3c9234fc8bade124566c4799f5c /Source/cmCommands.cxx | |
parent | 9d6fc3f5ed527874d44a111eb80c09e740710e48 (diff) | |
download | CMake-7533e47cccb8828885de518e40d58b629200d23d.zip CMake-7533e47cccb8828885de518e40d58b629200d23d.tar.gz CMake-7533e47cccb8828885de518e40d58b629200d23d.tar.bz2 |
cmCommand refactor: cmLoadCommandCommand
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 bbfea90..6f79c9a 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -314,8 +314,7 @@ void GetProjectCommands(cmState* state) "The export_library_dependencies command should not be called; " "see CMP0033."); state->AddDisallowedCommand( - "load_command", cm::make_unique<cmLoadCommandCommand>(), - cmPolicies::CMP0031, + "load_command", cmLoadCommandCommand, cmPolicies::CMP0031, "The load_command command should not be called; see CMP0031."); state->AddDisallowedCommand( "output_required_files", cm::make_unique<cmOutputRequiredFilesCommand>(), |