[osg-users] [osgPPU] CMake error in FindOSG.cmake

2010-01-04 Thread Thrall, Bryan
The last two paths in OSG_SEARCH_PATHS in osgPPU's FindOSG.cmake don't properly escape backslashes, causing CMake (I'm using version 2.6) to error when trying to configure on Windows and osgPPU is not right next to OSG: C:\Program Files\OpenSceneGraph C:\Program Files (x86)\OpenSceneGraph

Re: [osg-users] [osgPPU] CMake error in FindOSG.cmake

2010-01-04 Thread Paul Martz
That was my mistake, found it after I posted the addition of these paths, but forgot to contact Art about it. Forward slashes also work. (Not sure why CMake is treating these as literal char strings... Seems like a bug in how CMake is parsing the file...) Paul Martz Skew Matrix Software LLC

Re: [osg-users] [osgPPU] CMake error in FindOSG.cmake

2010-01-04 Thread Thrall, Bryan
Paul Martz wrote on 2010-01-04: That was my mistake, found it after I posted the addition of these paths, but forgot to contact Art about it. Forward slashes also work. (Not sure why CMake is treating these as literal char strings... Seems like a bug in how CMake is parsing the file...)

Re: [osg-users] [osgPPU] CMake error in FindOSG.cmake

2010-01-04 Thread Art Tevs
Hi Bryan, Thank you for the patch. Changes are submitted to svn. Hmm, I wonder why on my machine with cmake-2.6-patch4 installed I didn't get any issues with the backslash. Maybe I forgot to try to create just fresh build directory, so that cached paths were in use. Art --