Title: [176787] trunk
Revision
176787
Author
[email protected]
Date
2014-12-04 02:10:36 -0800 (Thu, 04 Dec 2014)

Log Message

can not find cairo-gl.h when build webkit with gtk on ubuntu 14.04
https://bugs.webkit.org/show_bug.cgi?id=136576

Reviewed by Carlos Garcia Campos.

CMake should complain if Accelerated 2D Canvas is explicitly
enabled but cairo-gl is not found.

* Source/cmake/OptionsGTK.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (176786 => 176787)


--- trunk/ChangeLog	2014-12-04 09:23:28 UTC (rev 176786)
+++ trunk/ChangeLog	2014-12-04 10:10:36 UTC (rev 176787)
@@ -1,3 +1,15 @@
+2014-12-04  Alberto Garcia  <[email protected]>
+
+        can not find cairo-gl.h when build webkit with gtk on ubuntu 14.04
+        https://bugs.webkit.org/show_bug.cgi?id=136576
+
+        Reviewed by Carlos Garcia Campos.
+
+        CMake should complain if Accelerated 2D Canvas is explicitly
+        enabled but cairo-gl is not found.
+
+        * Source/cmake/OptionsGTK.cmake:
+
 2014-12-03  Eva Balazsfalvi  <[email protected]>
 
         [EFL] Add subtle crypto to the build system

Modified: trunk/Source/cmake/OptionsGTK.cmake (176786 => 176787)


--- trunk/Source/cmake/OptionsGTK.cmake	2014-12-04 09:23:28 UTC (rev 176786)
+++ trunk/Source/cmake/OptionsGTK.cmake	2014-12-04 10:10:36 UTC (rev 176787)
@@ -82,6 +82,10 @@
     WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCELERATED_2D_CANVAS OFF)
 endif ()
 
+if (ENABLE_ACCELERATED_2D_CANVAS AND NOT(CAIRO_GL_FOUND))
+    message(FATAL_ERROR "cairo-gl is needed for Accelerated 2D Canvas support")
+endif ()
+
 if (GEOCLUE2_FOUND OR GEOCLUE_FOUND)
     WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GEOLOCATION ON)
 else ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to