mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Don't specify a min macOS version when not needed
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.
This commit is contained in:
parent
55b6d7cd74
commit
4728eaf642
1 changed files with 0 additions and 2 deletions
|
@ -1,5 +1,3 @@
|
|||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "Minimum OS X deployment version")
|
||||
|
||||
# Code signing ID on Mac.
|
||||
# If this is falsey, codesigning is disabled.
|
||||
# '-' is ad-hoc codesign.
|
||||
|
|
Loading…
Reference in a new issue