Title: [241866] trunk
Revision
241866
Author
[email protected]
Date
2019-02-21 09:08:07 -0800 (Thu, 21 Feb 2019)

Log Message

[WPE] Do not hardcode WPEBackend-fdo library name for linking tests
https://bugs.webkit.org/show_bug.cgi?id=194901

Unreviewed build fix.


.:

* Source/cmake/FindWPEBackend-fdo.cmake: Use WPEBACKEND_FDO as prefix
for the output variables instead of WPEBackend-fdo, for consistency
with other usages of of find_package_handle_standard_args().

Tools:

* TestWebKitAPI/PlatformWPE.cmake: Set TestWebKitAPIBase to be linked
against the detected ${WPEBACKEND_FDO_LIBRARIES} instead of hardcoding
WPEBackend-fdo-0.1 as library name.

Modified Paths

Diff

Modified: trunk/ChangeLog (241865 => 241866)


--- trunk/ChangeLog	2019-02-21 13:55:51 UTC (rev 241865)
+++ trunk/ChangeLog	2019-02-21 17:08:07 UTC (rev 241866)
@@ -1,3 +1,14 @@
+2019-02-21  Adrian Perez de Castro  <[email protected]>
+
+        [WPE] Do not hardcode WPEBackend-fdo library name for linking tests
+        https://bugs.webkit.org/show_bug.cgi?id=194901
+
+        Unreviewed build fix.
+
+        * Source/cmake/FindWPEBackend-fdo.cmake: Use WPEBACKEND_FDO as prefix
+        for the output variables instead of WPEBackend-fdo, for consistency
+        with other usages of of find_package_handle_standard_args().
+
 2019-02-11  Adrian Perez de Castro  <[email protected]>
 
         [GTK][WPE] Add content extensions support in WKTR and unskip layout tests

Modified: trunk/Source/cmake/FindWPEBackend-fdo.cmake (241865 => 241866)


--- trunk/Source/cmake/FindWPEBackend-fdo.cmake	2019-02-21 13:55:51 UTC (rev 241865)
+++ trunk/Source/cmake/FindWPEBackend-fdo.cmake	2019-02-21 17:08:07 UTC (rev 241866)
@@ -44,4 +44,4 @@
 mark_as_advanced(WPEBACKEND_FDO_INCLUDE_DIRS WPEBACKEND_FDO_LIBRARIES)
 
 include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(WPEBackend-fdo REQUIRED_VARS WPEBACKEND_FDO_INCLUDE_DIRS WPEBACKEND_FDO_LIBRARIES)
+find_package_handle_standard_args(WPEBACKEND_FDO REQUIRED_VARS WPEBACKEND_FDO_INCLUDE_DIRS WPEBACKEND_FDO_LIBRARIES)

Modified: trunk/Tools/ChangeLog (241865 => 241866)


--- trunk/Tools/ChangeLog	2019-02-21 13:55:51 UTC (rev 241865)
+++ trunk/Tools/ChangeLog	2019-02-21 17:08:07 UTC (rev 241866)
@@ -1,3 +1,14 @@
+2019-02-21  Adrian Perez de Castro  <[email protected]>
+
+        [WPE] Do not hardcode WPEBackend-fdo library name for linking tests
+        https://bugs.webkit.org/show_bug.cgi?id=194901
+
+        Unreviewed build fix.
+
+        * TestWebKitAPI/PlatformWPE.cmake: Set TestWebKitAPIBase to be linked
+        against the detected ${WPEBACKEND_FDO_LIBRARIES} instead of hardcoding
+        WPEBackend-fdo-0.1 as library name.
+
 2019-02-21  Rob Buis  <[email protected]>
 
         Update MIME type parser

Modified: trunk/Tools/TestWebKitAPI/PlatformWPE.cmake (241865 => 241866)


--- trunk/Tools/TestWebKitAPI/PlatformWPE.cmake	2019-02-21 13:55:51 UTC (rev 241865)
+++ trunk/Tools/TestWebKitAPI/PlatformWPE.cmake	2019-02-21 17:08:07 UTC (rev 241866)
@@ -93,10 +93,7 @@
 set_target_properties(TestWebKit PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebKit)
 
 # TestWebKitAPIBase
-list(APPEND TestWebKitAPIBase_LIBRARIES
-    WPEBackend-fdo-0.1
-)
-find_package(WPEBackend-fdo REQUIRED)
+list(APPEND TestWebKitAPIBase_LIBRARIES ${WPEBACKEND_FDO_LIBRARIES})
 list(APPEND TestWebKitAPI_LIBRARIES ${WPEBACKEND_FDO_LIBRARIES})
 list(APPEND TestWebKitAPIBase_SOURCES
     ${TOOLS_DIR}/wpe/backends/ViewBackend.cpp
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to