llvm-capstone/llvm/cmake
Michał Górny 5279e6a7d6 [cmake] Fix Findzstd.cmake to handle OpenBSD shared libraries
Fix Findzstd CMake to handle shared libraries on OpenBSD correctly.
This userland does not use shared library symlinks without SOVERSION,
so the result of find_library() does not ever end with
zstd_SHARED_LIBRARY_SUFFIX.  To work around this, reverse the logic
to compare the result against zstd_STATIC_LIBRARY_SUFFIX and assume
shared library otherwise.

While at it, fix the conditions not to fall back to "result is static
library" path if it actually was recognized as a shared library but
zstd_shared target already existed.

Fixes #59056

Differential Revision: https://reviews.llvm.org/D138361
2022-11-23 06:50:53 +01:00
..
modules [cmake] Fix Findzstd.cmake to handle OpenBSD shared libraries 2022-11-23 06:50:53 +01:00
platforms [cmake] Fix ms-compat version in WinMsvc.cmake 2022-08-09 11:13:49 +02:00
config-ix.cmake [cmake] Fix _GNU_SOURCE being added unconditionally 2022-11-14 12:28:21 -08:00
config.guess [cmake] Add LoongArch to config.guess 2022-08-01 15:05:34 +08:00
dummy.cpp
nsis_icon.ico
nsis_logo.bmp
README
unwind.h [ExecutionEngine] Check for libunwind before calling __register_frame 2021-08-15 13:35:53 +01:00

See docs/CMake.html for instructions on how to build LLVM with CMake.