[osg-submissions] Fix for CMake 2.6.0 warning about policy CMP0005

Jean-Sébastien Guay jean-sebastien.guay at cm-labs.com
Fri May 30 07:52:30 PDT 2008


Hello Robert,

This is a fix for the warning we've been discussing on osg-users. CMake 
2.6.0 allows quotes to be unescaped in strings in ADD_DEFINITIONS 
statements, where we had to escape them before (CMake 2.4.x). Setting 
CMake policy CMP0005 to OLD removes the warning for 2.6.0, and the 
quotes are still escaped, so it still works with 2.4.x.

Thanks,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.guay at cm-labs.com
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080530/780cc365/attachment-0001.txt>


More information about the osg-submissions mailing list