diff options
author | Dennis Klein <d.klein@gsi.de> | 2019-05-27 20:00:43 (GMT) |
---|---|---|
committer | Dennis Klein <d.klein@gsi.de> | 2019-06-13 14:41:04 (GMT) |
commit | 9e84c7c5e8e243624858692bddb6f13485f46774 (patch) | |
tree | 230eab866ac2582c04bcf6f9e5bacd9aaf8ba507 /Source/cmPolicies.h | |
parent | b7d72db89de6a9ddc8c8740a6e8b8980d108b900 (diff) | |
download | CMake-9e84c7c5e8e243624858692bddb6f13485f46774.zip CMake-9e84c7c5e8e243624858692bddb6f13485f46774.tar.gz CMake-9e84c7c5e8e243624858692bddb6f13485f46774.tar.bz2 |
cmInstallTargetGenerator: Introduce CMP0095
Escape coincidental CMake syntax in RPATH entries when generating the
intermediary cmake_install.cmake script.
Fixes #19225
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index b705119..c16a46f 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -279,7 +279,11 @@ class cmMakefile; SELECT(POLICY, CMP0094, \ "FindPython3, FindPython2 and FindPyton use " \ "LOCATION for lookup strategy.", \ - 3, 15, 0, cmPolicies::WARN) + 3, 15, 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0095, \ + "RPATH entries are properly escaped in the intermediary CMake " \ + "install script.", \ + 3, 16, 0, cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ @@ -307,7 +311,8 @@ class cmMakefile; F(CMP0073) \ F(CMP0076) \ F(CMP0081) \ - F(CMP0083) + F(CMP0083) \ + F(CMP0095) /** \class cmPolicies * \brief Handles changes in CMake behavior and policies |