diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-25 23:34:44 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-02-13 20:37:08 (GMT) |
commit | 7fb14775a3cce73dc0cb0d759b96059a95f7104b (patch) | |
tree | 586ed2e3f7d5a89bb1920bee3c54b94362d797e3 /Source/cmExportLibraryDependenciesCommand.cxx | |
parent | 615e2a17e499b2bd53cce8da1a0cfae36d67b24a (diff) | |
download | CMake-7fb14775a3cce73dc0cb0d759b96059a95f7104b.zip CMake-7fb14775a3cce73dc0cb0d759b96059a95f7104b.tar.gz CMake-7fb14775a3cce73dc0cb0d759b96059a95f7104b.tar.bz2 |
cmDisallowedCommand: extract policy checking from cmCommand
Implement cmDisallowedCommand as a wrapper class for cmCommand.
Diffstat (limited to 'Source/cmExportLibraryDependenciesCommand.cxx')
-rw-r--r-- | Source/cmExportLibraryDependenciesCommand.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmExportLibraryDependenciesCommand.cxx b/Source/cmExportLibraryDependenciesCommand.cxx index ac4f040..e3fb412 100644 --- a/Source/cmExportLibraryDependenciesCommand.cxx +++ b/Source/cmExportLibraryDependenciesCommand.cxx @@ -23,12 +23,6 @@ class cmExecutionStatus; bool cmExportLibraryDependenciesCommand::InitialPass( std::vector<std::string> const& args, cmExecutionStatus&) { - if (this->Disallowed( - cmPolicies::CMP0033, - "The export_library_dependencies command should not be called; " - "see CMP0033.")) { - return true; - } if (args.empty()) { this->SetError("called with incorrect number of arguments"); return false; |