[GTK][Mac] don't install .frameworks
[WebKit-https.git] / Source / cmake / WebKitMacros.cmake
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 ()