<div dir="ltr">Hi Robert,<div><br></div><div>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</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 13, 2017 at 9:31 AM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nick,<br>
<br>
CMake itself has a whole set of find*.cmake scripts for the OSG. There<br>
is uber one FindOpenSceneGraph.cmake and a series of findosg.cmake,<br>
findosgUtil.cmake etc.<br>
<br>
Robert.<br>
<br>
On 10 January 2017 at 00:08, Trajce Nikolov NICK<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:trajce.nikolov.nick@gmail.com">trajce.nikolov.nick@gmail.com</a><wbr>> wrote:<br>
> Hi Robert,<br>
><br>
> since now osgQt is separate project, should it be osg dependent and have osg<br>
> as dependency in CMake as any other OSG based project so the user can set<br>
> OSG (and osg versions one might uses)? I have few OSG versions on my system<br>
> and just gave a try on osgQt with CMake and in short I am missing<br>
> FindOSG.cmake and the ability to set up the OSG I want (as in any other OSG<br>
> based project). How this suppose to work now ? I am on Windows & Ubuntu, the<br>
> testingwas done on Windows<br>
><br>
> Thanks a lot as always!<br>
><br>
> Cheers,<br>
> Nick<br>
><br>
> --<br>
> trajce nikolov nick<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
><br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>