mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 15:18:26 -05:00
0cce556b5f
Use CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET to set the Xcode SDKROOT and MACOSX_DEPLOYMENT_TARGET build settings. This is necessary because some versions of Xcode select a different compiler based on these settings. We need to make sure the compiler identified during language initialization matches what will be used for the actual build.
2.6 KiB
2.6 KiB