Thanks Mattias, fix now merged and submitted to SVN. To test I've also just unstalled my local cmake 2.6.2 build, and replaced this with the cmake from 2.6-patch 0 from the Ubuntu repositories and I now optimize flags are all present and correct so clearly the bug that I earlier encountered is now fixed :-)
Cheers, Robert. On Fri, Jan 9, 2009 at 5:46 PM, Mattias Helsing <[email protected]> wrote: > Hi Robert, > > Following reports by Alberto and Simon this submission reenables usage > of cmake-2.6.0. As a side note I just installed cmake from the ubuntu > repositories and got cmake-2.6.0-4ubuntu2 and this one produced the > currect CMAKE_CXX_FLAGS_RELEASE (-O3 -DNDEBUG). This CMakeLists is > tested on linux with cmake versions 2.4.8, 2.6.0, 2.6.2 and > 2.6.0-4ubuntu2 > > * Added quotes around CMAKE_CXX_FLAGS var to help cmake-2.6.0 pick up > that it really is a string value > > * Removed quotes around values that we set in > OSG_AGGRESIVE_WARNING_FLAGS. This makes OSG_AGGRESIVE_WARING_FLAGS be > of LIST type so the foreach constructs can behave as I planned. > > cheers > Mattias > > _______________________________________________ > 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
