summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-21 19:56:15 +0200
committerGabor Bencze <b.gabor98@gmail.com>2019-08-25 14:29:25 +0200
commit9d6fc3f5ed527874d44a111eb80c09e740710e48 (patch)
tree418c3678bb6364b6441782c03835494a674f4c36 /Source/cmCommands.cxx
parent524d72151449acf5d76e55172174552b83a74f61 (diff)
downloadcmake-9d6fc3f5ed527874d44a111eb80c09e740710e48.tar.gz
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 6cb7d80a12..bbfea902e2 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(