diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2018-06-21 18:53:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-09 11:48:28 (GMT) |
commit | 2a5f5c0e316d415e1b8207348b34761d34f191ae (patch) | |
tree | a17a979c357a3148424b71fc0bcac898b1ec7e4a /Source/cmPolicies.h | |
parent | 12e6f83319d089b3295b4211d0d4810575e8f7d5 (diff) | |
download | CMake-2a5f5c0e316d415e1b8207348b34761d34f191ae.zip CMake-2a5f5c0e316d415e1b8207348b34761d34f191ae.tar.gz CMake-2a5f5c0e316d415e1b8207348b34761d34f191ae.tar.bz2 |
option: respect existing normal variable
Add policy CMP0077 to change this behavior in a compatible way.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 1732ad6..d0d9307 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -226,7 +226,9 @@ class cmMakefile; 0, cmPolicies::WARN) \ SELECT(POLICY, CMP0076, \ "target_sources() command converts relative paths to absolute.", 3, \ - 13, 0, cmPolicies::WARN) + 13, 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0077, "option() honors normal variables.", 3, 13, 0, \ + cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ |