mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-15 03:30:39 -06:00
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
13 lines
178 B
CMake
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)
|