summaryrefslogtreecommitdiffstats
path: root/Source/cmExportLibraryDependencies.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-23 12:19:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-23 12:19:57 (GMT)
commit8855bf53959331a290fe8947eb23afd719a52cf4 (patch)
tree66b34b980fbceb5616d6c3f26056d153d7da4ba0 /Source/cmExportLibraryDependencies.cxx
parent078530b4481e0f311e9180bf02cded228809076d (diff)
parent6c9194488aa5d61774ffeb40f54149ce2255f00c (diff)
downloadCMake-8855bf53959331a290fe8947eb23afd719a52cf4.zip
CMake-8855bf53959331a290fe8947eb23afd719a52cf4.tar.gz
CMake-8855bf53959331a290fe8947eb23afd719a52cf4.tar.bz2
Merge topic 'remove-old-commands-by-policy'
6c91944 Add policy CMP0036 to disallow build_name 3969bb2 Add policy CMP0035 to disallow variable_requires 178b9af Add policy CMP0034 to disallow utility_source 248d1dc Add policy CMP0033 to disallow export_library_dependencies 6865c8f Add policy CMP0032 to disallow output_required_files aa76518 Add policy CMP0031 to disallow load_command 97268cf Add policy CMP0030 to disallow use_mangled_mesa 9f64fbf Add policy CMP0029 to disallow subdir_depends 882c0f0 Add infrastructure for policies that disallow commands
Diffstat (limited to 'Source/cmExportLibraryDependencies.cxx')
-rw-r--r--Source/cmExportLibraryDependencies.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmExportLibraryDependencies.cxx b/Source/cmExportLibraryDependencies.cxx
index e3b1626..064ffa3 100644
--- a/Source/cmExportLibraryDependencies.cxx
+++ b/Source/cmExportLibraryDependencies.cxx
@@ -21,6 +21,10 @@
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.size() < 1 )
{
this->SetError("called with incorrect number of arguments");