mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-06 15:19:56 -06:00
Revise the error message added by commit 115ff6a347 (cmELF: Include the
ELF parsing code unconditionally, 2021-06-17, v3.22.0-rc1~557^2) to
honor the `CAPTURE_ERROR` option. This is needed by the call site in
`BundleUtilities` to suppress errors on non-ELF files.
Fixes: #23074
5 lines
170 B
CMake
5 lines
170 B
CMake
file(READ_ELF XXX)
|
|
file(READ_ELF XXX RPATH YYY)
|
|
file(READ_ELF ${CMAKE_CURRENT_LIST_FILE} RPATH YYY CAPTURE_ERROR err)
|
|
file(READ_ELF ${CMAKE_CURRENT_LIST_FILE} RPATH YYY)
|