[GTK][Mac] don't install .frameworks
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Nov 2015 18:03:00 +0000 (18:03 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Nov 2015 18:03:00 +0000 (18:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=151136

Patch by Philippe Normand <pnormand@igalia.com> on 2015-11-11
Reviewed by Alex Christensen.

* Source/cmake/WebKitMacros.cmake: Don't install framework files when building the GTK port on Mac.

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

ChangeLog
Source/cmake/WebKitMacros.cmake

index afcee54..a69c387 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2015-11-11  Philippe Normand  <pnormand@igalia.com>
+
+        [GTK][Mac] don't install .frameworks
+        https://bugs.webkit.org/show_bug.cgi?id=151136
+
+        Reviewed by Alex Christensen.
+
+        * Source/cmake/WebKitMacros.cmake: Don't install framework files when building the GTK port on Mac.
+
 2015-11-10  Pranjal Jumde  <pjumde@apple.com>
 
         Fixed crash loading Mozilla layout test editor/libeditor/crashtests/431086-1.xhtml.
index 8e1c42d..48e0d97 100644 (file)
@@ -243,7 +243,7 @@ macro(WEBKIT_WRAP_SOURCELIST)
 endmacro()
 
 macro(WEBKIT_FRAMEWORK _target)
-    if (APPLE)
+    if (APPLE AND NOT PORT STREQUAL "GTK")
         set_target_properties(${_target} PROPERTIES FRAMEWORK TRUE)
         install(TARGETS ${_target} FRAMEWORK DESTINATION ${LIB_INSTALL_DIR})
     endif ()