[Kde-bindings] kdebindings and ruby-1.9

Alexander Neundorf neundorf at kde.org
Sun Feb 7 15:41:15 CET 2010


On Friday 05 February 2010, Richard Dale wrote:
> On Friday 05 February 2010 06:57:24 pm Alexander Neundorf wrote:
> > On Friday 05 February 2010, Melton, Ryan wrote:
> > > Won't work on Windows.  Windows filenames are case-preserving but
> > > case-insensitive, so FindRuby.cmake and FindRUBY.cmake can't exist
> > > together in the same directory. Ryan
> >
> > Grmbl...
> >
> > Should we add a subdirectory cmake/modules/JustForFindRUBY/, add this
> > also to CMAKE_MODULE_PATH and move FindRUBY.cmake there ?
> >
> > I mean, we cannot just replace the file, since then everywhere where
> > find_package(RUBY)
> > is used, FindRuby.cmake will not be loaded :-/
> >
> > Does anybody have a non-hackish idea what we can do ?
>
> Why do we need two 'find ruby's in the first place? Surely there isn't that
> muchy Ruby code in KDE to make it too difficult to convert to just use one
> of them?

Removing (or renaming) FindRUBY.cmake to FindRuby.cmake would be a source 
incompatible change and would break the build of everything that uses it 
(inside KDE svn or outside).

Alex


More information about the Kde-buildsystem mailing list