On Fri, May 30, 2008 at 4:26 AM, Robert Osfield <[EMAIL PROTECTED]> wrote:
> Sent yesterday, but never got through... > > ---------- Forwarded message ---------- > From: Robert Osfield <[EMAIL PROTECTED]> > Date: Thu, May 29, 2008 at 9:04 AM > Subject: Re: [osg-users] cmake 2.6 issue, latest svn head > To: OpenSceneGraph Users <[email protected]> > > > Hi Paul, > > The warning doesn't mean anything specifically to me, but I'd guess > that it's related to Philip Lowman's changes in support of CMake 2.6 > with backwards compatibility for CMake 2.4.x. Perhaps Philip will > know. Robert, Sorry, I tried to respond on 5/29 but apparently my mail got bounced for some reason and I didn't realize it as I was busy packing for vacation. The reason I didn't notice this in testing is because the issue causing the warning was introduced in r8375 which was around the same time my CMake 2.6.x patches were commited so I'm guessing that patch wasn't committed to the trunk when I initially tested. I think Jean-Sébastien's suggestion of setting cmake_policy CMP0005 to OLD is the best option here because we want compatibility with CMake 2.4.x. Escaping strings in ADD_DEFINITIONS has always been kinda sucky in CMake and was a contributing reason they introduced CMake policies in 2.6.0, to provide backwards compatibility but fix the language for new users who don't depend on the old behavior of CMake 2.4.x and before. http://www.itk.org/Wiki/CMake_Policies http://www.cmake.org/HTML/cmake-2.6.html#policy:CMP0005 -- Philip Lowman
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

