[cmake-developers] Suggest to not add libosgUI-NOTFOUND to OSG_INCLUDE_DIR if it wasn't required
Mattias Helsing
helsing72 at gmail.com
Wed Sep 17 02:42:27 EDT 2014
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 item containing NOTFOUND)
but it's awkward. If I'm not requiring osgUI it shouldn't break my
build.
cheers
Mattias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-add-unfound-OSG-libs-if-they-weren-t-required.patch
Type: text/x-patch
Size: 1232 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140917/c3d97205/attachment.bin>
More information about the cmake-developers
mailing list