Hi,

I've tried to build OSG 3.1.2 with MACOSX 10.6. I think the CMakeLists.txt has 
2 errors:

1) defaults "read" of "SDKSettings.plist" doesn't work. I've changed it to no 
extension:

EXECUTE_PROCESS(COMMAND "defaults" "read" "${CMAKE_OSX_SYSROOT}/SDKSettings" 
"CanonicalName"
                    OUTPUT_VARIABLE OSG_OSX_SDK_NAME
                    OUTPUT_STRIP_TRAILING_WHITESPACE)

This works on MacOSX 10.6

2) One elseif has no OR. I changed to:

ELSEIF(${OSG_OSX_SDK_NAME} STREQUAL "macosx10.6" OR ${OSG_OSX_SDK_NAME} 
STREQUAL "macosx10.5")


Cheers,
Remo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=48522#48522





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to