Hi Olaf,
On 23-03-2012, at 19:45, Olaf Flebbe wrote:
> Hi,
>
> may I propose to let cmake detect the installation directory of xcode?
>
> There is a recent checkin in cmake because of the XCode 4.3 mess.
>
> http://cmake.org/gitweb?p=cmake.git;a=commit;h=bfc8d137c5ff505717f71099f149cfc2682b76ec
I think this is a different issue, because my patch is not meant to determine
the XCode installation directories. I use cmake 2.8.7 and have no problem with
it to determine the XCode installation directory; The value of
CMAKE_OSX_SYSROOT returned for the latest XCode
is"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk,
which is correct.
My patch determines the actual version of the SDK that is chosen by the cmake
user. OSG requires this because it chooses certain default values of cmake
variables based on the SDK version. Note also that is possible for a user to
choose another SDK to use. For instance, the latest XCode versions are
distributed with MacOSX10.6.sdk and MacOSX10.7.sdk.
I don't see a solution for this last issue in the cmake patch you refer to.
Cheers,
Erik_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org