#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by hkroger@…): Replying to [comment:6 carsten@…]:
You must install Xcode 6 DP in order to have the 10.10 SDK available. You must set xcode-select accordinghly.
In addition to using xcode-select, I had to set CMAKE_OSX_SYSROOT=/Applications/Xcode6-Beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/. Works for me now.
I Installed the beta4 of Xcode 6 and did setup the env. var and ran xcode- select but still it didn't work. what could I have done wrong? -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X