[osg-users] OpenSceneGraph-3.4.0-rc11 tagged

Robert Osfield robert.osfield at gmail.com
Tue Aug 11 01:53:04 PDT 2015

Hi Tony,

On 11 August 2015 at 09:32, Tony Vasile <minghia at gmail.com> wrote:
> Hi Robert,
> One of the earlier version 3.4.0 has been built but I'm not sure which one as osgversion only gives me a version of 3.4.0 and an OpenThreads version of 3.3.0.

Curious, as the FIND_PACKAGE(Boost) has been in the root
CMakeLists.txt since 3.3.x series.  Perhaps something has broken on
your CMake install at some point,

> Removing the FIND_PACKAGE allowed me to configure and build the system.

Good to hear.  I have actually looked into the FIND_PACKAGE(Boost)
usage and it was only added for the LIBLAS plugin, the usage is
perfect OK, but if one doesn't have LIBLAS installed there is no need
to check for Boost so it's not optimal.

To make things a bit more streamlined I have moved the
FIND_PACKAGE(Boost) into the FindLIBLAS.cmake script and made it only
check for Boost when LIBLAS itself has been found. I have also tweaked
the FindAsio.cmake script to do the same thing.

I have check this change into svn/trunk and OSG-3.4 branch so should
allow you to build as long as you don't need LIBLAS or Asio support.

However, while I'd hope this tweak fixes your build out of the box,
and very happy to see the CMake execution streamlined I do think there
is something broken with your CMake install, this is something you
should take up with the CMake developers, or perhaps the CentOS dev
resposible for maintaining CMake+CentOS.


More information about the osg-users mailing list