| Summary: | [CMake] Wrong message about dependency between introspection and gi-docgen | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | Tools / Tests | Assignee: | lisiwei |
| Status: | RESOLVED FIXED | ||
| Severity: | Minor | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
Pull request: https://github.com/WebKit/WebKit/pull/2472 Committed 252538@main (85864ba4b069): <https://commits.webkit.org/252538@main> Reviewed commits have been landed. Closing PR #2472 and removing active labels. |
In Source/cmake/OptionsWPE.cmake (and OptionsWPE.cmake) we have the following: find_package(GIDocgen) if (ENABLE_DOCUMENTATION AND NOT GIDocgen_FOUND) message(FATAL_ERROR "gi-docgen is needed for ENABLE_INTROSPECTION.") endif () when in reality the dependency is the other way around: introspection is needed for the gi-docgen documentation generator.