[osg-users] osgQt and osg (CMake)

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Fri Jan 13 07:08:42 PST 2017


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.osfield at 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.nick at 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 at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-
> openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170113/78ed5b01/attachment-0002.htm>


More information about the osg-users mailing list