Changeset 232020 in webkit


Ignore:
Timestamp:
May 21, 2018 10:52:18 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Propagate WebCore system include dirs in WebCoreHeaderInterface
https://bugs.webkit.org/show_bug.cgi?id=185822

Patch by Olivier Blin <Olivier Blin> on 2018-05-21
Reviewed by Michael Catanzaro.

System include directories from WebCore are not propagated anymore to its users.
For example gcrypt, sqlite and ICU system headers defined in PAL are not properly passed to WebKit build.

This may have been caused partly by the fix in r230385:
[CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
https://bugs.webkit.org/show_bug.cgi?id=184127

No new tests, build fix.

  • CMakeLists.txt:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/CMakeLists.txt

    r231709 r232020  
    19731973add_library(WebCoreHeaderInterface INTERFACE)
    19741974target_include_directories(WebCoreHeaderInterface INTERFACE ${WebCore_INCLUDE_DIRECTORIES})
     1975target_include_directories(WebCoreHeaderInterface SYSTEM INTERFACE ${WebCore_SYSTEM_INCLUDE_DIRECTORIES})
    19751976target_link_libraries(WebCoreHeaderInterface INTERFACE ${WebCore_LIBRARIES})
    19761977
  • trunk/Source/WebCore/ChangeLog

    r232019 r232020  
     12018-05-21  Olivier Blin  <olivier.blin@softathome.com>
     2
     3        Propagate WebCore system include dirs in WebCoreHeaderInterface
     4        https://bugs.webkit.org/show_bug.cgi?id=185822
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        System include directories from WebCore are not propagated anymore to its users.
     9        For example gcrypt, sqlite and ICU system headers defined in PAL are not properly passed to WebKit build.
     10
     11        This may have been caused partly by the fix in r230385:
     12        [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
     13        https://bugs.webkit.org/show_bug.cgi?id=184127
     14
     15        No new tests, build fix.
     16
     17        * CMakeLists.txt:
     18
    1192018-05-21  Olivier Blin  <olivier.blin@softathome.com>
    220
Note: See TracChangeset for help on using the changeset viewer.