Changeset 104722 in webkit


Ignore:
Timestamp:
Jan 11, 2012 10:32:00 AM (12 years ago)
Author:
efidler@rim.com
Message:

Fix OpenGL dependency in CMake build system
https://bugs.webkit.org/show_bug.cgi?id=73559

Reviewed by Daniel Bates.

.:

Apparently the EFL port uses desktop OpenGL to implement WebGL, but
other ports such as BlackBerry use other libraries like OpenGL ES 2.0 or
ANGLE.

  • Source/cmake/OptionsCommon.cmake:
  • Source/cmake/OptionsEfl.cmake:

Source/WebCore:

  • CMakeLists.txt:
  • PlatformEfl.cmake:
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r104459 r104722  
     12012-01-11  Eli Fidler  <efidler@rim.com>
     2
     3        Fix OpenGL dependency in CMake build system
     4        https://bugs.webkit.org/show_bug.cgi?id=73559
     5
     6        Reviewed by Daniel Bates.
     7
     8        Apparently the EFL port uses desktop OpenGL to implement WebGL, but
     9        other ports such as BlackBerry use other libraries like OpenGL ES 2.0 or
     10        ANGLE.
     11
     12        * Source/cmake/OptionsCommon.cmake:
     13        * Source/cmake/OptionsEfl.cmake:
     14
    1152012-01-09  Martin Robinson  <mrobinson@igalia.com>
    216
  • trunk/Source/WebCore/CMakeLists.txt

    r104702 r104722  
    21222122IF (ENABLE_WEBGL)
    21232123    LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    2124         ${OPENGL_INCLUDE_DIR}
    21252124        ${THIRDPARTY_DIR}/ANGLE/src
    21262125        ${THIRDPARTY_DIR}/ANGLE/include
    21272126        ${THIRDPARTY_DIR}/ANGLE/include/GLSLANG
    21282127        ${WEBCORE_DIR}/platform/graphics/gpu
    2129     )
    2130     LIST(APPEND WebCore_LIBRARIES
    2131         ${OPENGL_gl_LIBRARY}
    21322128    )
    21332129    LIST(APPEND WebCore_SOURCES
  • trunk/Source/WebCore/ChangeLog

    r104721 r104722  
     12012-01-11  Eli Fidler  <efidler@rim.com>
     2
     3        Fix OpenGL dependency in CMake build system
     4        https://bugs.webkit.org/show_bug.cgi?id=73559
     5
     6        Reviewed by Daniel Bates.
     7
     8        * CMakeLists.txt:
     9        * PlatformEfl.cmake:
     10
    1112012-01-11  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    212
  • trunk/Source/WebCore/PlatformEfl.cmake

    r103891 r104722  
    292292ENDIF ()
    293293
     294IF (ENABLE_WEBGL)
     295  LIST(APPEND WebCore_INCLUDE_DIRECTORIES
     296    ${OPENGL_INCLUDE_DIR}
     297  )
     298  LIST(APPEND WebCore_LIBRARIES
     299    ${OPENGL_gl_LIBRARY}
     300  )
     301ENDIF ()
     302
    294303IF (WTF_USE_SOUP)
    295304  LIST(APPEND WebCore_INCLUDE_DIRECTORIES
  • trunk/Source/cmake/OptionsCommon.cmake

    r100844 r104722  
    1515    SET(CODE_GENERATOR_PREPROCESSOR "${CMAKE_CXX_COMPILER} -E -P -x c++")
    1616ENDIF ()
    17 
    18 IF (ENABLE_WEBGL)
    19     FIND_PACKAGE(OpenGL REQUIRED)
    20 ENDIF ()
  • trunk/Source/cmake/OptionsEfl.cmake

    r103512 r104722  
    161161ENDIF()
    162162
     163IF (ENABLE_WEBGL)
     164  FIND_PACKAGE(OpenGL REQUIRED)
     165ENDIF ()
     166
    163167SET(CPACK_SOURCE_GENERATOR TBZ2)
Note: See TracChangeset for help on using the changeset viewer.