mirror of
https://github.com/reactos/CMake.git
synced 2024-12-11 05:14:00 +00:00
a0a0877a1e
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)
|