1
0
Fork 0

The OSG version is now printed with --version.

This adds the OSG version number between the simgear and PLIB versions.
This commit is contained in:
Edward d'Auvergne 2015-12-05 15:24:47 +01:00
parent 2af076e6cb
commit 912215e949

View file

@ -1328,6 +1328,7 @@ fgOptVersion( const char *arg )
}
cerr << endl;
cerr << "SimGear version: " << SG_STRINGIZE(SIMGEAR_VERSION) << endl;
cerr << "OSG version: " << osgGetVersion() << endl;
cerr << "PLIB version: " << PLIB_VERSION << endl;
return FG_OPTIONS_EXIT;
}