我正在尝试更新适用于 Yosemite 的 Macport,但 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.
最佳答案
您需要 10.10 SDK 才能执行此操作。之前尝试将 XCode 更新到 6.1。请参阅bug report和优胜美地相关information .
关于macos - 将 CMake 移植到 OS X Yosemite,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26497606/