mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
4728eaf642
Corrosion does not forward the `CMAKE_OSX_DEPLOYMENT_TARGET` to cargo. As a result we end up building the Rust-libraries for the default target, which is usually current macOS-version. But CMake links using the set target, so we link for a version older than we built for. To properly build for older macOS versions, the env variable `MACOSX_DEPLOYMENT_TARGET` should instead be set, which cargo, cmake and friends read by default. This can then lead to warnings if you have libraries (e.g. PCRE2) built for newer than our minimum version. Therefore we do not set a min-target by default. |
||
---|---|---|
.. | ||
checks | ||
Benchmark.cmake | ||
CheckIncludeFiles.cmake | ||
ConfigureChecks.cmake | ||
Docs.cmake | ||
gettext.cmake | ||
Install.cmake | ||
Mac.cmake | ||
MacApp.cmake | ||
PCRE2.cmake | ||
Rust.cmake | ||
Tests.cmake | ||
Version.cmake |