#45433: CMake fails to build with Xcode 6. -----------------------+-------------------------------- Reporter: hijaszu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: -----------------------+-------------------------------- I ran into the same situation with as ticket:44210. CMake failed to build on the pure Yosemite install, with Xcode 6. I tried every proposed solution from the ticket referred, but none of them worked. Then I figured out that the Xcode 6 installed with Yosemite contains /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk directory, instead of the one that CMake would like to refer (ending MacOSX10.10.sdk). By symlinking the existing directory to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk CMake is able to compile. I don't know why the original bug report was closed as there seems to be no solution on the page. -- Ticket URL: <https://trac.macports.org/ticket/45433> MacPorts <http://www.macports.org/> Ports system for OS X