BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATH
This commit is contained in:
parent
1d57093baf
commit
736da84b4f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue