[MacPorts] #37527: cmake portgroup broken with latest version of cmake, 2.8.10
MacPorts
noreply at macports.org
Fri Jan 4 11:47:21 PST 2013
#37527: cmake portgroup broken with latest version of cmake, 2.8.10
-------------------------+-------------------------------------------------
Reporter: mmoll@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: cmake, | Port: any port that uses the cmake port
portgroup | group
-------------------------+-------------------------------------------------
I get this error using the cmake portgroup:
{{{
CMake Error at
/opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake:190 (message):
CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but CMAKE_OSX_SYSROOT:
"/"
is not set to a MacOSX SDK with a recognized version. Either set
CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to
empty.
}}}
The solution seems to be to simply remove "-DCMAKE_OSX_SYSROOT=/" from
the configure.args.
--
Ticket URL: <https://trac.macports.org/ticket/37527>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list