Bug 146893
| Summary: | [GTK] cmake error related WEBKIT_OPTION_DEFAULT_PORT_VALUE & CAIROGL_FOUND | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | nick <unixman> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, mcatanzaro |
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
nick
i built cairo with glesv2.Currently gl and glesv2 backends can not build together.
The packager has to choose one of either. so i haven't cairo-gl.in my pc it seems:
/usr/lib/pkgconfig/cairo-egl.pc
/usr/lib/pkgconfig/cairo-fc.pc
/usr/lib/pkgconfig/cairo-ft.pc
/usr/lib/pkgconfig/cairo-glesv2.pc
/usr/lib/pkgconfig/cairo-gobject.pc
/usr/lib/pkgconfig/cairo-pdf.pc
/usr/lib/pkgconfig/cairo-png.pc
/usr/lib/pkgconfig/cairo-ps.pc
/usr/lib/pkgconfig/cairo-script.pc
/usr/lib/pkgconfig/cairo-svg.pc
/usr/lib/pkgconfig/cairo.pc
So cmake got below error at configuration step.
CMake Error at Source/cmake/OptionsGTK.cmake:131 (WEBKIT_OPTION_DEFAULT_PORT_VALUE):
WEBKIT_OPTION_DEFAULT_PORT_VALUE Macro invoked with incorrect arguments for
macro named: WEBKIT_OPTION_DEFAULT_PORT_VALUE
Call Stack (most recent call first):
CMakeLists.txt:163 (include)
131th line of OptionsGTK.cmake is:
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCELERATED_2D_CANVAS PUBLIC ${CAIROGL_FOUND})
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
(In reply to nick from comment #0)
> 131th line of OptionsGTK.cmake is:
>
> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCELERATED_2D_CANVAS PUBLIC
> ${CAIROGL_FOUND})
This is removed in bug #217603.