OSG 3.5.x compatibility fix
OSG 3.5 (and maybe before) declares that ThreadSafeRefenceCounting is no longer required and it has been removed.
This commit is contained in:
parent
b1f9107f22
commit
5d23fa71ff
1 changed files with 2 additions and 0 deletions
|
@ -239,8 +239,10 @@ void fgSetDefaults ()
|
|||
v->setValueReadOnly("simgear", SG_STRINGIZE(SIMGEAR_VERSION));
|
||||
#ifndef FG_TESTLIB
|
||||
v->setValueReadOnly("openscenegraph", osgGetVersion());
|
||||
#if OSG_VERSION_LESS_THAN(3,5,2)
|
||||
v->setValueReadOnly("openscenegraph-thread-safe-reference-counting",
|
||||
osg::Referenced::getThreadSafeReferenceCounting());
|
||||
#endif
|
||||
#endif
|
||||
v->setValueReadOnly("revision", REVISION);
|
||||
v->setValueReadOnly("build-number", HUDSON_BUILD_NUMBER);
|
||||
|
|
Loading…
Reference in a new issue