Title: [250664] trunk/Source/WebKit
Revision
250664
Author
[email protected]
Date
2019-10-03 11:15:59 -0700 (Thu, 03 Oct 2019)

Log Message

CMake-built WebKit.framework should launch XPC services successfully
https://bugs.webkit.org/show_bug.cgi?id=202490

Reviewed by Carlos Alberto Lopez Perez.

target_link_options() requires CMake 3.10, however we can avoid
raising required CMake version by moving it to PlatformMac.cmake,
also avoid introduction of new CMake variable.

* CMakeLists.txt:
* PlatformMac.cmake:

Modified Paths

Diff

Modified: trunk/Source/WebKit/CMakeLists.txt (250663 => 250664)


--- trunk/Source/WebKit/CMakeLists.txt	2019-10-03 18:09:31 UTC (rev 250663)
+++ trunk/Source/WebKit/CMakeLists.txt	2019-10-03 18:15:59 UTC (rev 250664)
@@ -420,7 +420,6 @@
 WEBKIT_COMPUTE_SOURCES(WebKit)
 
 WEBKIT_FRAMEWORK(WebKit)
-target_link_options(WebKit PRIVATE ${WebKit_LINK_OPTIONS})
 add_dependencies(WebKit WebCore ${WEBKIT_EXTRA_DEPENDENCIES})
 ADD_WEBKIT_PREFIX_HEADER(WebKit)
 

Modified: trunk/Source/WebKit/ChangeLog (250663 => 250664)


--- trunk/Source/WebKit/ChangeLog	2019-10-03 18:09:31 UTC (rev 250663)
+++ trunk/Source/WebKit/ChangeLog	2019-10-03 18:15:59 UTC (rev 250664)
@@ -1,3 +1,17 @@
+2019-10-03  Konstantin Tokarev  <[email protected]>
+
+        CMake-built WebKit.framework should launch XPC services successfully
+        https://bugs.webkit.org/show_bug.cgi?id=202490
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        target_link_options() requires CMake 3.10, however we can avoid
+        raising required CMake version by moving it to PlatformMac.cmake,
+        also avoid introduction of new CMake variable.
+
+        * CMakeLists.txt:
+        * PlatformMac.cmake:
+
 2019-10-03  Jiewen Tan  <[email protected]>
 
         Support googleLegacyAppidSupport extension

Modified: trunk/Source/WebKit/PlatformMac.cmake (250663 => 250664)


--- trunk/Source/WebKit/PlatformMac.cmake	2019-10-03 18:09:31 UTC (rev 250663)
+++ trunk/Source/WebKit/PlatformMac.cmake	2019-10-03 18:15:59 UTC (rev 250664)
@@ -435,7 +435,7 @@
 file(WRITE ${FORWARDING_HEADERS_DIR}/WebKit/WKImageCG.h "#import <WebKit/Shared/API/c/cg/WKImageCG.h>")
 
 set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-compatibility_version 1 -current_version ${WEBKIT_MAC_VERSION}")
-set(WebKit_LINK_OPTIONS -weak_framework SafariSafeBrowsing -lsandbox -framework AuthKit)
+target_link_options(WebKit PRIVATE -weak_framework SafariSafeBrowsing -lsandbox -framework AuthKit)
 
 set(WebKit_OUTPUT_NAME WebKit)
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to