diff options
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 3f20dc0..65870dc 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -484,7 +484,10 @@ class cmMakefile; SELECT(POLICY, CMP0158, \ "add_test() honors CMAKE_CROSSCOMPILING_EMULATOR only when " \ "cross-compiling.", \ - 3, 29, 0, cmPolicies::WARN) + 3, 29, 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0159, \ + "file(STRINGS) with REGEX updates CMAKE_MATCH_<n>.", 3, 29, 0, \ + cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ |