Thanks Ralf,  I've tweaked your submission a bit, moving the
ADD_DEFINITITIONS into the osgDB/CMakeLists.txt and changing the name
to OSG_PLUGIN_EXTENSION, and also made use of the new ADDQUOTES macro
to added potential issues with different CMake versions/compiler/OS
versions.  Changes and now checked into SVN.  Could you do an svn
update and let me know if things work out ok.

On Mon, Sep 22, 2008 at 12:52 PM, Ralf Habacker
<[EMAIL PROTECTED]> wrote:
> Robert Osfield schrieb:
>>
>> Hi Ralf,
>>
>> CMake knows the extension of the plugins, so this is probably where to
>> get it from - via a define passed in.
>>
>> I'm going offline right now so feel free to chase this up, or wait
>> till I have time to look into this.
>>
>
> Appended are two files
>
> CMakeLists.txt
> src/osgDB/QueryPlugin.cpp
>
> which fixes the issue by using the cmake provided shared library extension.
> In the CMakeLists.txt a constant named  OSG_SHARED_LIBRARY_EXTENSION is
> defined and used in osgDB::listAllAvailablePlugins()
>
> Regards
> Ralf
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to