summaryrefslogtreecommitdiff
path: root/Modules/GetPrerequisites.cmake
diff options
context:
space:
mode:
authorBianca van Schaik <bvschaik@gmail.com>2021-01-15 10:20:21 +0100
committerBrad King <brad.king@kitware.com>2021-01-20 10:26:54 -0500
commit7e615a540ea346716ba3d94b4bcecb35c42d5107 (patch)
treec79c9b74e3859d724f3e7cbf738a7a242b0b6e54 /Modules/GetPrerequisites.cmake
parentf2d92b983b8d46f54f4de050d5a10d59ba3ebec0 (diff)
downloadcmake-7e615a540ea346716ba3d94b4bcecb35c42d5107.tar.gz
file(GET_RUNTIME_DEPENDENCIES): Fix weak macOS libraries not detected
Starting with Clang 12, `otool -l` reports `LC_LOAD_WEAK_DYLIB` instead of `LC_LOAD_DYLIB` for weakly linked libraries. Update the implementation of `file(GET_RUNTIME_DEPENDENCIES)` to recognize these. Fixes: #21684
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
0 files changed, 0 insertions, 0 deletions