mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
4a89be8e01
On Apple platforms, linking against libSystem.dylib is sufficient, and some Apple platforms don't provide libm.dylib. On those platforms, adding -lm to CMAKE_REQUIRED_LIBRARIES causes all subsequent compile-flag checks to fail due to the missing library. Differential Revision: https://reviews.llvm.org/D81265
See docs/CMake.html for instructions on how to build LLVM with CMake.