⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267605 in webkit


Ignore:
Timestamp:
Sep 25, 2020, 4:18:33 PM (6 years ago)
Author:
Lauro Moura
Message:

Use CMake 3.10 compatible list functions
https://bugs.webkit.org/show_bug.cgi?id=216996

Reviewed by Fujii Hironori.

POP_FRONT and PREPEND were added in CMake 3.15.

  • WebCoreMacros.cmake: Use GET and REMOVE_AT instead of POP_FRONT.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r267604 r267605  
     12020-09-25  Lauro Moura  <lmoura@igalia.com>
     2
     3        Use CMake 3.10 compatible list functions
     4        https://bugs.webkit.org/show_bug.cgi?id=216996
     5
     6        Reviewed by Fujii Hironori.
     7
     8        POP_FRONT and PREPEND were added in CMake 3.15.
     9
     10        * WebCoreMacros.cmake: Use GET and REMOVE_AT instead of POP_FRONT.
     11
    1122020-09-25  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/Source/WebCore/WebCoreMacros.cmake

    r267588 r267605  
    214214
    215215function(GENERATE_DOM_NAMES _namespace _attrs)
    216     list(POP_FRONT ARGN _tags)
     216    if (ARGN)
     217        list(GET ARGN 0 _tags)
     218        list(REMOVE_AT ARGN 0)
     219    endif ()
    217220    set(NAMES_GENERATOR ${WEBCORE_DIR}/dom/make_names.pl)
    218221    set(_arguments  --attrs ${_attrs})
Note: See TracChangeset for help on using the changeset viewer.