summaryrefslogtreecommitdiffstats
path: root/Source/cmExportLibraryDependencies.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-18 17:09:32 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:52 (GMT)
commit248d1dc057564dc00e3374d7797a1e42ea57032d (patch)
treef02f66efaede660545b5ed228e36587f80164872 /Source/cmExportLibraryDependencies.cxx
parent6865c8fe05d407077a598fcc0921ef62dfeaf021 (diff)
downloadCMake-248d1dc057564dc00e3374d7797a1e42ea57032d.zip
CMake-248d1dc057564dc00e3374d7797a1e42ea57032d.tar.gz
CMake-248d1dc057564dc00e3374d7797a1e42ea57032d.tar.bz2
Add policy CMP0033 to disallow export_library_dependencies
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");