summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallRuntimeDependencySetGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* macOS: Do not pass Apple-specific flags to llvm-stripBrad King2023-03-291-2/+1
| | | | | | | | | | | | | | | Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we prefer `llvm-strip` over `strip` when using Clang. However, since commit 20291e8e72 (install: Fix stripping on macOS, 2019-01-30, v3.14.0-rc1~31^2) on macOS we add flags `-u -r`, needed by Apple's `strip` for executables, but that `llvm-strip` does not need or support. Improve the condition to add Apple-specific flags only when the selected `strip` tool is Apple's. Note that Apple dylibs must be stripped with `-x` with either Apple's `strip` or `llvm-strip`. Fixes: #24601
* install(TARGETS): Add RUNTIME_DEPENDENCIES optionKyle Edwards2021-06-041-0/+276