Hi Robert,

what I tried to say and it fixed it was to call INCLUDE( FindOpenSceneGraph
) in the main CMakeLists.txt and use the OSG_INCLUDE_DIRS and OSG_LIBRARIES
in the project CMakeLists.txt

On Fri, Jan 13, 2017 at 9:31 AM, Robert Osfield <robert.osfi...@gmail.com>
wrote:

> Hi Nick,
>
> CMake itself has a whole set of find*.cmake scripts for the OSG. There
> is uber one FindOpenSceneGraph.cmake and a series of findosg.cmake,
> findosgUtil.cmake etc.
>
> Robert.
>
> On 10 January 2017 at 00:08, Trajce Nikolov NICK
> <trajce.nikolov.n...@gmail.com> wrote:
> > Hi Robert,
> >
> > since now osgQt is separate project, should it be osg dependent and have
> osg
> > as dependency in CMake as any other OSG based project so the user can set
> > OSG (and osg versions one might uses)? I have few OSG versions on my
> system
> > and just gave a try on osgQt with CMake and in short I am missing
> > FindOSG.cmake and the ability to set up the OSG I want (as in any other
> OSG
> > based project). How this suppose to work now ? I am on Windows & Ubuntu,
> the
> > testingwas done on Windows
> >
> > Thanks a lot as always!
> >
> > Cheers,
> > Nick
> >
> > --
> > trajce nikolov nick
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-
> openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



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

Reply via email to