diff options
author | Brad King <brad.king@kitware.com> | 2008-03-13 20:23:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-13 20:23:18 (GMT) |
commit | d46ff28ac9465969f9fda862d06a048fa40d72f6 (patch) | |
tree | bb5b3d71a485922116b9164197e129c3d280e5ae /Source/cmPolicies.h | |
parent | af55f854d4f8fa8bc336dcb492c0dbe5ca9a1c92 (diff) | |
download | CMake-d46ff28ac9465969f9fda862d06a048fa40d72f6.zip CMake-d46ff28ac9465969f9fda862d06a048fa40d72f6.tar.gz CMake-d46ff28ac9465969f9fda862d06a048fa40d72f6.tar.bz2 |
ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.
- Policy is WARN by default so projects will build
as they did in 2.4 without user intervention
- Remove CMAKE_LINK_OLD_PATHS variable since it was
never in a release and the policy supercedes it
- Report target creation backtrace in warning message
since policy should be set by that point
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 088d554..4ca6a6b 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -43,6 +43,7 @@ public: CMP0000, // Policy version specification CMP0001, // Ignore old compatibility variable CMP0002, // Target names must be unique + CMP0003, // Linking does not include extra -L paths // Always the last entry. Useful mostly to avoid adding a comma // the last policy when adding a new one. |