diff options
author | Brad King <brad.king@kitware.com> | 2013-10-18 17:00:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-22 13:09:52 (GMT) |
commit | 6865c8fe05d407077a598fcc0921ef62dfeaf021 (patch) | |
tree | 7295bc74f2589671684e77c44a7a37ccdbbfac21 /Source/cmOutputRequiredFilesCommand.cxx | |
parent | aa76518f8bfd821f000d1779066eb7614cdd079b (diff) | |
download | CMake-6865c8fe05d407077a598fcc0921ef62dfeaf021.zip CMake-6865c8fe05d407077a598fcc0921ef62dfeaf021.tar.gz CMake-6865c8fe05d407077a598fcc0921ef62dfeaf021.tar.bz2 |
Add policy CMP0032 to disallow output_required_files
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.cxx')
-rw-r--r-- | Source/cmOutputRequiredFilesCommand.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx index 01fc2cf..16b2bea 100644 --- a/Source/cmOutputRequiredFilesCommand.cxx +++ b/Source/cmOutputRequiredFilesCommand.cxx @@ -174,6 +174,9 @@ void cmLBDepend::DependWalk(cmDependInformation* info) bool cmOutputRequiredFilesCommand ::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &) { + if(this->Disallowed(cmPolicies::CMP0032, + "The output_required_files command should not be called; see CMP0032.")) + { return true; } if(args.size() != 2 ) { this->SetError("called with incorrect number of arguments"); |