diff options
author | Brad King <brad.king@kitware.com> | 2021-12-01 17:36:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-12-01 17:58:11 (GMT) |
commit | 643fc46bdc13dd57584d5d77eee30a99308ba896 (patch) | |
tree | 184ab10c031666afa8249a64662b8fa699b72ffe /Tests/RunCMake/file-RPATH/TextSet-result.txt | |
parent | 5596cba7dcb06b0641d4a5499fc046cf0959464e (diff) | |
download | CMake-643fc46bdc13dd57584d5d77eee30a99308ba896.zip CMake-643fc46bdc13dd57584d5d77eee30a99308ba896.tar.gz CMake-643fc46bdc13dd57584d5d77eee30a99308ba896.tar.bz2 |
file(RPATH): Restore tolerance of unknown formats if new RPATH is empty
Since commit 2e1149874d (cmSystemTools: Support multiple binary formats,
2021-06-14, v3.22.0-rc1~575^2) the `file(RPATH_...)` operations fail on
files that are not ELF or XCOFF format. Previously the RPATH operations
tolerated files of unknown format if the goal was to produce a file with
an empty RPATH. Restore this tolerance in order to support setting an
empty RPATH on GNU ld scripts.
Fixes: #22963
Diffstat (limited to 'Tests/RunCMake/file-RPATH/TextSet-result.txt')
-rw-r--r-- | Tests/RunCMake/file-RPATH/TextSet-result.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/file-RPATH/TextSet-result.txt b/Tests/RunCMake/file-RPATH/TextSet-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/file-RPATH/TextSet-result.txt @@ -0,0 +1 @@ +1 |