Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

System.Native: Add deployment target version for OSX#42412

Merged
stephentoub merged 1 commit intodotnet:masterfrom
akoeplinger:cmake-osx-target
Nov 6, 2019
Merged

System.Native: Add deployment target version for OSX#42412
stephentoub merged 1 commit intodotnet:masterfrom
akoeplinger:cmake-osx-target

Conversation

@akoeplinger
Copy link
Member

As noticed in #42408 we don't pass any minimum OSX target version to CMake.
This means it falls back to the host version, e.g. if you build on Mojave it would pass -mmacosx-version-min=10.14 to the compiler.

.NET Core's minimum supported OSX version is 10.13 so pass that to CMake.

As noticed in dotnet#42408 we don't pass any minimum OSX target version to CMake.
This means it falls back to the host version, e.g. if you build on Mojave it would pass `-mmacosx-version-min=10.14` to the compiler.

.NET Core's minimum supported OSX version is 10.13 so pass that to CMake.
Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@stephentoub stephentoub merged commit e9a2f96 into dotnet:master Nov 6, 2019
@akoeplinger akoeplinger deleted the cmake-osx-target branch November 18, 2019 15:06
@karelz karelz added this to the 5.0 milestone Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants