Skip to content

CMAKE_OSX_SYSROOT is set to incorrect SDK location #4831

Answered by Bo98
sryze asked this question in Everyday usage
Discussion options

You must be logged in to vote

This is correct behaviour because if you link to things like libcurl using a newer SDK than the system, you could get runtime crashes like Homebrew/homebrew-core#46466. It is always safest to use the SDK matching the system you are running, unless you restrict yourself to frameworks that support deployment target based builds.

Officially, folly only supports the last 2 macOS versions but we try test the last 3 where possible. MacPorts encountered multiple problems with building folly and had to revert multiple upstream changes to get it fully working on 10.15: macports/macports-ports@671ce78.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sryze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants