From 736da84b4f78cc29332f206e14c0ed15e2c70562 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 19 Aug 2008 14:23:38 -0400 Subject: BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATH --- Modules/Platform/Darwin.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12