Hi Jim, Just disabling the FIND_LIBRARY(MATH_LIBRARY m) for all Apple builds doesn't feel right. The are lots of other Apple developers using the CMake build and haven't had problems with these particular line of the OpenSceneGraph/CMakeLists.txt so I am surprised that you are having problems. Given that there is chance that making this change will break the build for other Apply developers I feel that this specific change is inappropriate to apply at this time.
It would be useful to try and work what combination of OS/XCode that the problem you see exists and where it doesn't exist, and where the MATH_LIBRARY needs to be defined, and where not. Could you write a post to osg-users explaining the error you are seeing and the version of the OSX/XCode etc and call for feedback from other OSX users. From this feedback we can try and come up with a workable solution. Cheers, Robert. On Sun, Nov 29, 2009 at 3:56 PM, Jim Brooks <[email protected]> wrote: > This is the top-level CMakeLists.tx from OSG 2.8.2 > It has two changes to fix linker errors on > Apple Mac OS X 10.4 Tiger PowerPC, Latest XCode, MacPorts > Please note: > Not sure if disabling FIND_LIBRARY(MATH_LIBRARY m) > will break other Apple configurations (???). > > -- > Jim Brooks > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
