CMAKE_OSX_SYSROOT is set to incorrect SDK location #4831
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Workaround: Edit |
Beta Was this translation helpful? Give feedback.
-
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, |
Beta Was this translation helpful? Give feedback.
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 buildingfolly
and had to revert multiple upstream changes to get it fully working on 10.15: macports/macports-ports@671ce78.