diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-08-19 18:23:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-08-19 18:23:38 (GMT) |
commit | 736da84b4f78cc29332f206e14c0ed15e2c70562 (patch) | |
tree | eecdbea8ad319a4391cf2f86aad3e915d2247442 /Modules/Platform | |
parent | 1d57093bafc0c73eecc306b702f371eb1d24cedc (diff) | |
download | CMake-736da84b4f78cc29332f206e14c0ed15e2c70562.zip CMake-736da84b4f78cc29332f206e14c0ed15e2c70562.tar.gz CMake-736da84b4f78cc29332f206e14c0ed15e2c70562.tar.bz2 |
BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATH
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index edd698c..97472cb 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -67,7 +67,7 @@ IF(_CMAKE_OSX_SDKS) IF(NOT "$ENV{CMAKE_OSX_SYSROOT}" STREQUAL "") SET(_CMAKE_OSX_SDKS "$ENV{CMAKE_OSX_SYSROOT}") ENDIF(NOT "$ENV{CMAKE_OSX_SYSROOT}" STREQUAL "") - SET(CMAKE_OSX_SYSROOT ${_CMAKE_OSX_SDKS} CACHE STRING + SET(CMAKE_OSX_SYSROOT ${_CMAKE_OSX_SDKS} CACHE PATH "isysroot used for universal binary support") # set _CMAKE_OSX_MACHINE to umame -m EXEC_PROGRAM(uname ARGS -m OUTPUT_VARIABLE _CMAKE_OSX_MACHINE) |