diff options
author | Brad King <brad.king@kitware.com> | 2014-01-13 15:25:33 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-01-13 15:25:33 (GMT) |
commit | cb8c9dd01b282f56e3759bcaf86a6533bfe051fb (patch) | |
tree | 1d6d47b44fb864d1fa1eda60fdfcf1b6526e0774 /Source/cmPolicies.cxx | |
parent | 8d989d1788252066c18de99d6df004abaa888dda (diff) | |
parent | 0bf6f13b1dc278b68c1ddf94d838014852ada679 (diff) | |
download | CMake-cb8c9dd01b282f56e3759bcaf86a6533bfe051fb.zip CMake-cb8c9dd01b282f56e3759bcaf86a6533bfe051fb.tar.gz CMake-cb8c9dd01b282f56e3759bcaf86a6533bfe051fb.tar.bz2 |
Merge topic 'missing-dependency-error'
0bf6f13b AddDependencies: new policy requires dependencies to exist
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r-- | Source/cmPolicies.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 5a189f8..020a782 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -331,6 +331,11 @@ cmPolicies::cmPolicies() CMP0045, "CMP0045", "Error on non-existent target in get_target_property.", 3,0,0,0, cmPolicies::WARN); + + this->DefinePolicy( + CMP0046, "CMP0046", + "Error on non-existent dependency in add_dependencies.", + 3,0,0,0, cmPolicies::WARN); } cmPolicies::~cmPolicies() |