Changeset 223045 in webkit


Ignore:
Timestamp:
Oct 9, 2017 9:04:40 AM (7 years ago)
Author:
Adrian Perez de Castro
Message:

[WPE][GTK] Propagate libepoxy compiler flags obtained from pkg-config
https://bugs.webkit.org/show_bug.cgi?id=178081

Reviewed by Carlos Alberto Lopez Perez.

.:

  • Source/cmake/FindLibEpoxy.cmake: Define the ${LIBEPOXY_DEFINITIONS} variable when libepoxy

is found by pkg-config. This contains the value of the "Cflags" field from "epoxy.pc".

Source/WebCore:

No new tests needed.

  • CMakeLists.txt: Use ${LIBEPOXY_DEFINITIONS} for building WebCore.

Source/WebKit:

  • CMakeLists.txt: Use ${LIBEPOXY_DEFINITIONS} for building WebKit.
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r223042 r223045  
     12017-10-09  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [WPE][GTK] Propagate libepoxy compiler flags obtained from pkg-config
     4        https://bugs.webkit.org/show_bug.cgi?id=178081
     5
     6        Reviewed by Carlos Alberto Lopez Perez.
     7
     8        * Source/cmake/FindLibEpoxy.cmake: Define the ${LIBEPOXY_DEFINITIONS} variable when libepoxy
     9        is found by pkg-config. This contains the value of the "Cflags" field from "epoxy.pc".
     10
    1112017-10-05  Frederic Wang  <fwang@igalia.com>
    212
  • trunk/Source/WebCore/CMakeLists.txt

    r223042 r223045  
    34863486            ${LIBEPOXY_LIBRARIES}
    34873487        )
     3488        add_definitions(${LIBEPOXY_DEFINITIONS})
    34883489    else ()
    34893490        if (USE_OPENGL)
  • trunk/Source/WebCore/ChangeLog

    r223044 r223045  
     12017-10-09  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [WPE][GTK] Propagate libepoxy compiler flags obtained from pkg-config
     4        https://bugs.webkit.org/show_bug.cgi?id=178081
     5
     6        Reviewed by Carlos Alberto Lopez Perez.
     7
     8        No new tests needed.
     9
     10        * CMakeLists.txt: Use ${LIBEPOXY_DEFINITIONS} for building WebCore.
     11
    1122017-10-09  Romain Bellessort  <romain.bellessort@crf.canon.fr>
    213
  • trunk/Source/WebKit/CMakeLists.txt

    r222927 r223045  
    737737            ${LIBEPOXY_LIBRARIES}
    738738        )
     739        add_definitions(${LIBEPOXY_DEFINITIONS})
    739740    else ()
    740741        if (USE_OPENGL)
  • trunk/Source/WebKit/ChangeLog

    r223030 r223045  
     12017-10-09  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [WPE][GTK] Propagate libepoxy compiler flags obtained from pkg-config
     4        https://bugs.webkit.org/show_bug.cgi?id=178081
     5
     6        Reviewed by Carlos Alberto Lopez Perez.
     7
     8        * CMakeLists.txt: Use ${LIBEPOXY_DEFINITIONS} for building WebKit.
     9
    1102017-10-08  Tim Horton  <timothy_horton@apple.com>
    211
  • trunk/Source/cmake/FindLibEpoxy.cmake

    r220595 r223045  
    3131pkg_check_modules(PC_LIBEPOXY QUIET epoxy)
    3232
     33if (PC_LIBEPOXY_FOUND)
     34    set(LIBEPOXY_DEFINITIONS ${PC_LIBEPOXY_CFLAGS_OTHER})
     35endif ()
     36
    3337find_path(LIBEPOXY_INCLUDE_DIRS
    3438    NAMES epoxy/gl.h
Note: See TracChangeset for help on using the changeset viewer.