Am Freitag, den 10.12.2010, 00:13 -0800 schrieb Stefan Eilemann:
> 'Morning, 
> 
> On Wed, Dec 1, 2010 at 7:43 PM, purpleKarrot [via Software] 
> <[hidden email]> wrote: 
> > Am Mittwoch, den 01.12.2010, 04:56 -0800 schrieb Stefan Eilemann: 
> >> @Daniel: What was/is the reason to disable the automatic check for 
> >> OSG? I preferred this solution. 
> > 
> > This solution was not reliable. [...] 
> 
> Fixed in revision 5257. Please let me know if it still doesn't work. 

Works like a charm now. But it should be possible with even less code:

.find_package(OpenSceneGraph 2.9.8 COMPONENTS osgDB osgUtil)
.if(NOT OPENSCENEGRAPH_FOUND)
...message(STATUS "Skipping 'osgScaleViewer'")   
...return()
.endif()

The variable OPENSCENEGRAPH_FOUND is set to ON iff the right version is
found. I tested this on Linux with both gcc and mingw. 

cheers, Daniel



_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to