mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Drop the last use of CMAKE_OSX_SYSROOT_DEFAULT. Replace internal
platform variable CMAKE_${lang}_HAS_ISYSROOT with a more general
CMAKE_${lang}_SYSROOT_FLAG variable. If the -isysroot flag exists and
CMAKE_OSX_SYSROOT points to an SDK (not "/") then always add it to
compiler command lines. This is already done in the Xcode IDE.
5 lines
134 B
CMake
5 lines
134 B
CMake
include(Platform/Darwin-GNU)
|
|
__darwin_compiler_gnu(CXX)
|
|
cmake_gnu_set_sysroot_flag(CXX)
|
|
cmake_gnu_set_osx_deployment_target_flag(CXX)
|