Re: [cmake-developers] Suggest to not add libosgUI-NOTFOUND to OSG_INCLUDE_DIR if it wasn't required

2014-09-18 Thread Brad King
On 09/17/2014 02:42 AM, Mattias Helsing wrote: > If I'm not requiring osgUI it shouldn't break my build. Applied, thanks: FindOpenSceneGraph: Do not add unfound OSG libs if not required http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b683da3e -Brad -- Powered by www.kitware.com Please keep

[cmake-developers] Suggest to not add libosgUI-NOTFOUND to OSG_INCLUDE_DIR if it wasn't required

2014-09-16 Thread Mattias Helsing
Hi all, I'm building against OpenScenGraph-3.0.1 AND OpenSceneGraph-3.3.3. While the latter have osgUI the former does not. My cmake scripts for the 3.0.1 build fail because the OPENSCENEGRAPH_INCLUDE_DIR gets populated with OSGUI_INCLUDE_DIR-NOTFOUND. I can solve this with for loops (remove all it