summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.h
diff options
context:
space:
mode:
authorDennis Klein <d.klein@gsi.de>2019-05-27 20:00:43 (GMT)
committerDennis Klein <d.klein@gsi.de>2019-06-13 14:41:04 (GMT)
commit9e84c7c5e8e243624858692bddb6f13485f46774 (patch)
tree230eab866ac2582c04bcf6f9e5bacd9aaf8ba507 /Source/cmInstallTargetGenerator.h
parentb7d72db89de6a9ddc8c8740a6e8b8980d108b900 (diff)
downloadCMake-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/cmInstallTargetGenerator.h')
-rw-r--r--Source/cmInstallTargetGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index ed3ab52..9ccad63 100644
--- a/Source/cmInstallTargetGenerator.h
+++ b/Source/cmInstallTargetGenerator.h
@@ -104,6 +104,7 @@ protected:
const std::string& toDestDirPath);
void AddUniversalInstallRule(std::ostream& os, Indent indent,
const std::string& toDestDirPath);
+ void IssueCMP0095Warning(const std::string& unescapedRpath);
std::string TargetName;
cmGeneratorTarget* Target;