summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/CMakeCommonCompilerMacros.cmake
diff options
context:
space:
mode:
authorBianca van Schaik <bvschaik@gmail.com>2021-01-15 09:20:21 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-20 15:26:54 (GMT)
commit7e615a540ea346716ba3d94b4bcecb35c42d5107 (patch)
treec79c9b74e3859d724f3e7cbf738a7a242b0b6e54 /Modules/Compiler/CMakeCommonCompilerMacros.cmake
parentf2d92b983b8d46f54f4de050d5a10d59ba3ebec0 (diff)
downloadCMake-7e615a540ea346716ba3d94b4bcecb35c42d5107.zip
CMake-7e615a540ea346716ba3d94b4bcecb35c42d5107.tar.gz
CMake-7e615a540ea346716ba3d94b4bcecb35c42d5107.tar.bz2
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/Compiler/CMakeCommonCompilerMacros.cmake')
0 files changed, 0 insertions, 0 deletions