[CMake] Add WEBKIT_EXECUTABLE macro
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Apr 2019 19:36:21 +0000 (19:36 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Apr 2019 19:36:21 +0000 (19:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=197206

Unreviewed build fix.

Calls to add_dependencies were not happening.

* Source/cmake/WebKitMacros.cmake:

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

ChangeLog
Source/cmake/WebKitMacros.cmake

index 319e3da..7548bd9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2019-04-29  Don Olmstead  <don.olmstead@sony.com>
+
+        [CMake] Add WEBKIT_EXECUTABLE macro
+        https://bugs.webkit.org/show_bug.cgi?id=197206
+
+        Unreviewed build fix.
+
+        Calls to add_dependencies were not happening.
+
+        * Source/cmake/WebKitMacros.cmake:
+
 2019-04-29  Basuke Suzuki  <Basuke.Suzuki@sony.com>
 
         [Win] Add flag to enable version information stamping and disable by default.
index 48ee725..4aacbd6 100644 (file)
@@ -170,8 +170,8 @@ macro(_WEBKIT_TARGET _target_logical_name _target_cmake_name)
 
     target_link_libraries(${_target_cmake_name} ${${_target_logical_name}_LIBRARIES})
 
-    if (${_target}_DEPENDENCIES)
-        add_dependencies(${_target_cmake_name} ${${_target}_DEPENDENCIES})
+    if (${_target_logical_name}_DEPENDENCIES)
+        add_dependencies(${_target_cmake_name} ${${_target_logical_name}_DEPENDENCIES})
     endif ()
 endmacro()