Files
CMake/Tests/RunCMake/file-RPATH/ELF.cmake
Harmen Stoppels 02f3e5be6a file(RPATH_CHANGE ...): no-op for static binary
Setting `CMAKE_INSTALL_RPATH` on a project that contains statically
linked executables breaks the install step, since rpaths cannot be
changed.

This commit makes rpath adjustments not an error on static libraries.

Fixes #26078
2024-06-24 11:32:30 -04:00

13 lines
178 B
CMake

set(dynamic
elf32lsb.bin
elf32msb.bin
elf64lsb.bin
elf64msb.bin
)
set(static
elf64lsb-static.bin
)
set(format ELF)
include(${CMAKE_CURRENT_LIST_DIR}/Common.cmake)