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...)

Apparently, CMake allows escaping inside strings using backslash (see 
http://www.cmake.org/cmake/help/syntax.html), hence the need to escape the 
backslashes.

> Thrall, Bryan wrote:
>> 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"
>> 
>> Should be:
>> 
>> "C:\\Program Files\\OpenSceneGraph"
>> "C:\\Program Files (x86)\\OpenSceneGraph"
>> 
>> Fixed FindOSG.cmake is attached.

--
Bryan Thrall
FlightSafety International
bryan.thr...@flightsafety.com
  


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to