Files
CMake/Tests/RunCMake/file-RPATH/TextChange-stderr.txt
T
Brad King 643fc46bdc 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
2021-12-01 12:58:11 -05:00

13 lines
272 B
Plaintext

^CMake Error at [^
]*/Tests/RunCMake/file-RPATH/TextChange.cmake:[0-9]+ \(file\):
file RPATH_CHANGE could not write new RPATH:
/new/rpath
to the file:
[^
]*/Tests/RunCMake/file-RPATH/TextChange-build/not_a_binary.txt
The file format is not recognized\.$