Hi Eric,

I'm using this change (I'm using the latest svn) but it doesn't fix the problem on OSX. I added a conditional around line 349 that checks the version of cmake in use and that seems to solve the problem for me. I'm attaching my CMakeLists.txt to this message if anyone wants to try it out before I make a formal submission with it.

I had tested the change myself too, and it did fix the problem on Windows and Linux too.

My argument about scalability is just that this is the only line that needs this *for now*. If there are ever other ADD_DEFINITIONS lines that need internal quotes, we'll have to have a version check there too in order to escape the quotes for 2.4.x and not escape them for 2.6 (if we want to support both).

But if it's the only solution on OSX, we'll live with it (even though it sounds like a bug in CMake's XCode generation more than anything else...).

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to