[cmake-developers] CMake improve-findruby topic
Rolf Eike Beer
eike at sf-mail.de
Fri Feb 17 13:31:00 EST 2012
Brad King wrote:
> On 2/17/2012 12:09 PM, Rolf Eike Beer wrote:
> > http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=854e76237ce3e8f03d9cabc
> > ad1f8f37e04992ad3 commit 854e76237ce3e8f03d9cabcad1f8f37e04992ad3
> > Author: Rolf Eike Beer<eike at sf-mail.de>
> > AuthorDate: Fri Feb 17 18:06:07 2012 +0100
> > Commit: Rolf Eike Beer<eike at sf-mail.de>
> > CommitDate: Fri Feb 17 18:06:07 2012 +0100
> >
> > FindRuby: clean up querying variables from Ruby
> >
> > Newer Ruby versions (from 1.9 onward) seem to warn if you query
> > Config::CONFIG and print a warning to use RbConfig instead. RbConfig
> > seems to also work in older versions, at least in 1.8. Use a macro
> > to query RbConfig first and only if that doesn't give anything fall
> > back to Config.
>
> Does this address
>
> http://www.cmake.org/Bug/view.php?id=12965
>
> ?
Nope, sadly not. But it should make that easier to solve.
I wonder what does ruby output on Windows? Likely backslash separated paths,
in which case most of those things would also need an additional
file(TO_CMAKE_PATH).
Eike
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120217/138d1292/attachment.sig>
More information about the cmake-developers
mailing list