Changeset 176787 in webkit


Ignore:
Timestamp:
Dec 4, 2014 2:10:36 AM (9 years ago)
Author:
berto@igalia.com
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:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r176712 r176787  
     12014-12-04  Alberto Garcia  <berto@igalia.com>
     2
     3        can not find cairo-gl.h when build webkit with gtk on ubuntu 14.04
     4        https://bugs.webkit.org/show_bug.cgi?id=136576
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        CMake should complain if Accelerated 2D Canvas is explicitly
     9        enabled but cairo-gl is not found.
     10
     11        * Source/cmake/OptionsGTK.cmake:
     12
    1132014-12-03  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
    214
  • trunk/Source/cmake/OptionsGTK.cmake

    r176517 r176787  
    8181    WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL OFF)
    8282    WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCELERATED_2D_CANVAS OFF)
     83endif ()
     84
     85if (ENABLE_ACCELERATED_2D_CANVAS AND NOT(CAIRO_GL_FOUND))
     86    message(FATAL_ERROR "cairo-gl is needed for Accelerated 2D Canvas support")
    8387endif ()
    8488
Note: See TracChangeset for help on using the changeset viewer.