Hello CMake Wizards,

We've had a couple of requests on osgEarth to install our osgDB plugins
directly to the osgPlugins-VERSION directory.  Is there a way in CMake that
I can determine what that directory would be?

In the OpenSceneGraph's CMakeLists.txt the plugin directory is like so:

SET(OPENSCENEGRAPH_VERSION
${OPENSCENEGRAPH_MAJOR_VERSION}.${OPENSCENEGRAPH_MINOR_VERSION}.${OPENSCENEGRAPH_PATCH_VERSION})
SET(OSG_PLUGINS osgPlugins-${OPENSCENEGRAPH_VERSION})

Can I somehow grab the OpenSceneGraph version that osgEarth was built
against in CMake?

Thanks in advance!

Jason
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to