Added use of REGISTER_OGRPLUGIN to enable static linking of plugins

This commit is contained in:
Robert Osfield
2009-06-24 17:37:59 +00:00
parent 0c987ee112
commit 02defea1b0
4 changed files with 4 additions and 5 deletions

View File

@@ -804,4 +804,4 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter
// now register with Registry to instantiate the above
// reader/writer.
osgDB::RegisterReaderWriterProxy<ReaderWriterGDAL> g_readerWriter_GDAL_Proxy;
REGISTER_OSGPLUGIN(gdal, ReaderWriterGDAL)