[Webkit-unassigned] [Bug 239661] [CMake] Could NOT find Ruby

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 24 13:42:42 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239661

Fujii Hironori <Hironori.Fujii at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Hironori.Fujii at sony.com

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
The warning means it founds ruby command, but ruby library.

There is a comment about this.

https://github.com/WebKit/WebKit/blob/c0fdd48006a448510939c08c02422208dfc98bdb/Source/cmake/WebKitCommon.cmake#L190,L192

>    # We cannot check for RUBY_FOUND because it is set only when the full package is installed and
>    # the only thing we need is the interpreter. Unlike Python, cmake does not provide a macro
>    # for finding only the Ruby interpreter.

FindRuby should have `COMPONENTS Interpreter` like FindPython.

https://cmake.org/cmake/help/latest/module/FindRuby.html
https://cmake.org/cmake/help/latest/module/FindPython.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220424/7f2e942d/attachment-0001.htm>


More information about the webkit-unassigned mailing list