Changeset 180502 in webkit


Ignore:
Timestamp:
Feb 23, 2015 8:06:02 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Fails to compile with cmake 3.2.x
https://bugs.webkit.org/show_bug.cgi?id=141796

With cmake 3.2.x we have to explicitly ask for X11 otherwise the
X11_X11_LIB variable won't be set thus the X11 linker flags won't be
added and the build will fail.

Patch by Tomas Popela <tpopela@redhat.com> on 2015-02-23
Reviewed by Martin Robinson.

  • Source/cmake/OptionsGTK.cmake:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r180441 r180502  
     12015-02-23  Tomas Popela  <tpopela@redhat.com>
     2
     3        [GTK] Fails to compile with cmake 3.2.x
     4        https://bugs.webkit.org/show_bug.cgi?id=141796
     5
     6        With cmake 3.2.x we have to explicitly ask for X11 otherwise the
     7        X11_X11_LIB variable won't be set thus the X11 linker flags won't be
     8        added and the build will fail.
     9
     10        Reviewed by Martin Robinson.
     11
     12        * Source/cmake/OptionsGTK.cmake:
     13
    1142015-02-20  Alexey Proskuryakov  <ap@apple.com>
    215
  • trunk/Source/cmake/OptionsGTK.cmake

    r179922 r180502  
    5858
    5959if (ENABLE_X11_TARGET)
     60    # With cmake 3.2.x we have to explicitly ask for X11 otherwise the X11_X11_LIB
     61    # variable won't be set thus the X11 linker flags won't be added and the build
     62    # will fail.
     63    find_package(X11 REQUIRED)
    6064    # We don't use find_package for GLX because it is part of -lGL, unlike EGL.
    6165    check_include_files("GL/glx.h" GLX_FOUND)
Note: See TracChangeset for help on using the changeset viewer.