summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-21 17:56:15 (GMT)
committerGabor Bencze <b.gabor98@gmail.com>2019-08-25 12:29:25 (GMT)
commit9d6fc3f5ed527874d44a111eb80c09e740710e48 (patch)
tree418c3678bb6364b6441782c03835494a674f4c36 /Source/cmCommands.cxx
parent524d72151449acf5d76e55172174552b83a74f61 (diff)
downloadCMake-9d6fc3f5ed527874d44a111eb80c09e740710e48.zip
CMake-9d6fc3f5ed527874d44a111eb80c09e740710e48.tar.gz
CMake-9d6fc3f5ed527874d44a111eb80c09e740710e48.tar.bz2
cmCommand refactor: cmExportLibraryDependenciesCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index 6cb7d80..bbfea90 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -309,8 +309,8 @@ void GetProjectCommands(cmState* state)
cm::make_unique<cmSourceGroupCommand>());
state->AddDisallowedCommand(
- "export_library_dependencies",
- cm::make_unique<cmExportLibraryDependenciesCommand>(), cmPolicies::CMP0033,
+ "export_library_dependencies", cmExportLibraryDependenciesCommand,
+ cmPolicies::CMP0033,
"The export_library_dependencies command should not be called; "
"see CMP0033.");
state->AddDisallowedCommand(