将CMake移植到OS X Yosemite

时间:2014-10-21 22:42:04

标签: macos macports osx-yosemite

我正在尝试更新我的Macport for Yosemite并且安装cmake失败。 这是日志文件:

:info:configure CMake Error at Modules/Platform/Darwin.cmake:213 (message):
:info:configure   CMAKE_OSX_DEPLOYMENT_TARGET is '10.10' but CMAKE_OSX_SYSROOT:
:info:configure 
:info:configure    ""
:info:configure 
:info:configure   is not set to a MacOSX SDK with a recognized version.  Either set
:info:configure   CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to empty.

1 个答案:

答案 0 :(得分:2)

您需要10.10 SDK才能完成。尝试之前将XCode更新为6.1。请参阅bug report和Yosemite相关information