Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting MACOSX_DEPLOYMENT_TARGET does it require the sdk? #65

Open
ipatch opened this issue Apr 10, 2022 · 0 comments
Open

setting MACOSX_DEPLOYMENT_TARGET does it require the sdk? #65

ipatch opened this issue Apr 10, 2022 · 0 comments

Comments

@ipatch
Copy link

ipatch commented Apr 10, 2022

when working with cmake based projects i see some references while doing searches to set the below cmake/env var

MACOSX_DEPLOYMENT_TARGET

i've recently started setting that var (cmake) with -DMACOSX_DEPLOYMENT_TARGET="10.9" per this

i'm setting this var because i am publishing releases for older versions of macos and setting that var allows me to run my app bundles ie. MyProject.app on big sur, catalina, and mojave.

my question do i need to download the 10.9 SDK and set that up, or is the current version of xcode installed on big sur able to use that var with cmake without having to download install the older sdk?

thanks for making this github repo BTW 🙏

@ipatch ipatch changed the title setting MACOSX_DEPLOYMENT_TARGET does it requirement setting MACOSX_DEPLOYMENT_TARGET does it require the sdk? Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant