Thanks Alberto, changes now merged and submitted to SVN.
On Fri, Sep 5, 2008 at 4:32 PM, Alberto Luaces <[EMAIL PROTECTED]> wrote: > Hi, > > Cygwin's cmake build adds a "d" postfix to the plugins installed in debug > mode. Nevertheless, the code doesn't acknowledge that, so I had problems with > debug versions of the library not being able to open their plugins whereas > the release versions worked fine. > > I have made the same changes in Registry.cpp that are available for the rest > of platforms appending that "d" to their plugins. I have also updated the > CMakeLists.txt file to get "_DEBUG" defined at compilation time. I have > copied the already existent conditional block because of cmake's bizarre > operator precedence. Since Cygwin defines both CYGWIN and WIN32, the > following would suffice: > > IF(CYGWIN OR UNIX AND NOT WIN32 AND NOT APPLE) > > Sadly, it actually doesn't work, so I wrote a new conditional block just for > Cygwin. I could join the two blocks when the parentheses support is added in > newer versions of cmake. > > Alberto > > _______________________________________________ > 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
