When using /usr/share/cmake/Modules/FindRuby.cmake script from cmake and ruby18 an error occurs... it is unable to obtain the correct ruby library path. Reproducible: Always Steps to Reproduce: 1. emerge -av cmake ruby 2. add FindRuby.cmake script to your CMakeLists.txt ==> INCLUDE(FindRuby) 3. Try to access to RUBY_LIBRARY cmake variable Actual Results: cmake returns NOT_FOUND Expected Results: ruby library path Attached the fix :)
Created attachment 254749 [details, diff] /usr/share/cmake/Modules/FindRuby.cmake patch just add a new library name posibility
I've fixed the summary as this appears to be about ruby and not perl. When you add a patch, please use the unified diff format (diff -u).
Similar patch added to main tree in version 2.8.3-r1. Thanks for the idea.