[CMAKE] Build warning by INTERFACE_LINK_LIBRARIES
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Sep 2014 09:28:47 +0000 (09:28 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Sep 2014 09:28:47 +0000 (09:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=136194

Reviewed by Csaba Osztrogonác.

Set the LINK_INTERFACE_LIBRARIES target property on the top level CMakeLists.txt.

* CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@173155 268f45cc-cd09-0410-ab3c-d52691b4dbfc

CMakeLists.txt
ChangeLog
Source/JavaScriptCore/CMakeLists.txt
Source/JavaScriptCore/ChangeLog
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebKit2/CMakeLists.txt
Source/WebKit2/ChangeLog

index 385f1f079dcd557697b5146117cc18f440309f94..e3926cdcfba5123ecb221cc5921c7009a5c3e59c 100644 (file)
@@ -33,6 +33,9 @@ if (NOT DEFINED ENABLE_TOOLS AND EXISTS ${TOOLS_DIR})
     set(ENABLE_TOOLS ON)
 endif ()
 
+# Do not create transitive library dependencies by default
+set(CMAKE_LINK_INTERFACE_LIBRARIES "")
+
 include(WebKitMacros)
 include(WebKitFS)
 include(WebKitHelpers)
index 7ef1040debcbd0aeee7e30bb555e8268fe2884a1..e0328aa4a9b3f7da514910694780c7f1abe0a549 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2014-09-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
+
+        [CMAKE] Build warning by INTERFACE_LINK_LIBRARIES
+        https://bugs.webkit.org/show_bug.cgi?id=136194
+
+        Reviewed by Csaba Osztrogonác.
+
+        Set the LINK_INTERFACE_LIBRARIES target property on the top level CMakeLists.txt.
+
+        * CMakeLists.txt:
+
 2014-08-29  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
 
         [EFL] Remove non Coordinated Graphics code path from cmake build system after r142169
index 71cac67e503508e578efdf004c4349cd3922ebf3..00ce58e55cb8840336b8aae0e31f785d365168ee 100644 (file)
@@ -1096,7 +1096,6 @@ add_library(JavaScriptCore ${JavaScriptCore_LIBRARY_TYPE} ${JavaScriptCore_HEADE
 target_link_libraries(JavaScriptCore ${JavaScriptCore_LIBRARIES})
 set_target_properties(JavaScriptCore PROPERTIES COMPILE_DEFINITIONS "BUILDING_JavaScriptCore")
 set_target_properties(JavaScriptCore PROPERTIES FOLDER "JavaScriptCore")
-set_target_properties(JavaScriptCore PROPERTIES LINK_INTERFACE_LIBRARIES "")
 
 if (JavaScriptCore_OUTPUT_NAME)
     set_target_properties(JavaScriptCore PROPERTIES OUTPUT_NAME ${JavaScriptCore_OUTPUT_NAME})
index 14d51e6ccd05da3c269a87c15dfe857836d8e8cf..0dcafcb4abfcf60f772c2aab423e362a076f70c6 100644 (file)
@@ -1,3 +1,14 @@
+2014-09-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
+
+        [CMAKE] Build warning by INTERFACE_LINK_LIBRARIES
+        https://bugs.webkit.org/show_bug.cgi?id=136194
+
+        Reviewed by Csaba Osztrogonác.
+
+        Set the LINK_INTERFACE_LIBRARIES target property on the top level CMakeLists.txt.
+
+        * CMakeLists.txt:
+
 2014-08-26  Maciej Stachowiak  <mjs@apple.com>
 
         Use RetainPtr::autorelease in some places where it seems appropriate
index d25f86f7f7a97e5ebb0dcf74dce4b4d8e4bfa85d..5159c8b53f24c22a88281217830df598638062b5 100644 (file)
@@ -3528,7 +3528,6 @@ include_directories(${WebCore_INCLUDE_DIRECTORIES} ${WebCoreTestSupport_INCLUDE_
 add_library(WebCore ${WebCore_LIBRARY_TYPE} ${WebCore_SOURCES})
 set_target_properties(WebCore PROPERTIES COMPILE_DEFINITIONS "BUILDING_WebCore")
 set_target_properties(WebCore PROPERTIES FOLDER "WebCore")
-set_target_properties(WebCore PROPERTIES LINK_INTERFACE_LIBRARIES "")
 
 if (WebCore_OUTPUT_NAME)
     set_target_properties(WebCore PROPERTIES OUTPUT_NAME ${WebCore_OUTPUT_NAME})
index f310a3032e3a701c8401c917fdf653408b666b6c..2d7993ef9566a8f8d59b23965c7303a216aff266 100644 (file)
@@ -1,3 +1,14 @@
+2014-09-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
+
+        [CMAKE] Build warning by INTERFACE_LINK_LIBRARIES
+        https://bugs.webkit.org/show_bug.cgi?id=136194
+
+        Reviewed by Csaba Osztrogonác.
+
+        Set the LINK_INTERFACE_LIBRARIES target property on the top level CMakeLists.txt.
+
+        * CMakeLists.txt:
+
 2014-08-31  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
         Unreviewed, fix build break on EFL and GTK since r173152.
index 1167cf970f0cb14c877e3493e9388d858f3fbad6..4f3923d41b3d3c4e891455e9f8c0d718246de6c2 100644 (file)
@@ -696,7 +696,6 @@ add_dependencies(WebKit2 ${WEBKIT2_EXTRA_DEPENDENCIES})
 add_webkit2_prefix_header(WebKit2)
 target_link_libraries(WebKit2 ${WebKit2_LIBRARIES})
 set_target_properties(WebKit2 PROPERTIES FOLDER "WebKit")
-set_target_properties(WebKit2 PROPERTIES LINK_INTERFACE_LIBRARIES "")
 
 if (WebKit2_VERSION_SCRIPT)
     ADD_TARGET_PROPERTIES(WebKit2 LINK_FLAGS "${WebKit2_VERSION_SCRIPT}")
index 86727c457edc1f0df6302233fb0978710a5c6d81..5d1982f1349cfcca7f56f900ce3832fe63ca7ef1 100644 (file)
@@ -1,3 +1,14 @@
+2014-09-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
+
+        [CMAKE] Build warning by INTERFACE_LINK_LIBRARIES
+        https://bugs.webkit.org/show_bug.cgi?id=136194
+
+        Reviewed by Csaba Osztrogonác.
+
+        Set the LINK_INTERFACE_LIBRARIES target property on the top level CMakeLists.txt.
+
+        * CMakeLists.txt:
+
 2014-09-01  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         [SOUP] WebKitDownload cannot overwrite existing file