| Summary: | [CMake] Could NOT find Ruby | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | CMake | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | Hironori.Fujii |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Michael Catanzaro
2022-04-22 11:34:57 PDT
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 FindRuby: Distinguish Interpreter and Development components (#20474) · Issues · CMake / CMake · GitLab https://gitlab.kitware.com/cmake/cmake/-/issues/20474 |