diff options
author | Brad King <brad.king@kitware.com> | 2012-11-05 15:43:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-05 15:47:33 (GMT) |
commit | 15f5764e2ca9cd10fca7f5bb44f631c7c449352e (patch) | |
tree | 417a32b0f94916ae804d263743761b9ca1ca0d68 /Modules/Platform/Darwin-XL-C.cmake | |
parent | df928646bae077d0b827116f93a64062e8bd1731 (diff) | |
download | CMake-15f5764e2ca9cd10fca7f5bb44f631c7c449352e.zip CMake-15f5764e2ca9cd10fca7f5bb44f631c7c449352e.tar.gz CMake-15f5764e2ca9cd10fca7f5bb44f631c7c449352e.tar.bz2 |
OS X: Fix default CMAKE_OSX_SYSROOT with deployment target
Since commit 43b74793 (OS X: Further improve default CMAKE_OSX_SYSROOT
selection, 2012-09-21) we choose a default CMAKE_OSX_SYSROOT only when
one is needed. However, the change forgot that we require a sysroot
when a deployment target is requested. Teach Darwin.cmake to choose a
default CMAKE_OSX_SYSROOT when CMAKE_OSX_DEPLOYMENT_TARGET is set.
Reported-by: Matthew Brett <matthew.brett@gmail.com>
Reported-by: Bradley Giesbrecht <pixilla@macports.org>
Diffstat (limited to 'Modules/Platform/Darwin-XL-C.cmake')
0 files changed, 0 insertions, 0 deletions