mirror of
https://github.com/reactos/CMake.git
synced 2025-02-21 04:11:03 +00: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
128 B
CMake
5 lines
128 B
CMake
include(Platform/Darwin-GNU)
|
|
__darwin_compiler_gnu(C)
|
|
cmake_gnu_set_sysroot_flag(C)
|
|
cmake_gnu_set_osx_deployment_target_flag(C)
|