summaryrefslogtreecommitdiff
path: root/Source/WebKit2/PlatformQt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/PlatformQt.cmake')
-rw-r--r--Source/WebKit2/PlatformQt.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit2/PlatformQt.cmake b/Source/WebKit2/PlatformQt.cmake
index c3776fc4f..ec36a4247 100644
--- a/Source/WebKit2/PlatformQt.cmake
+++ b/Source/WebKit2/PlatformQt.cmake
@@ -11,6 +11,10 @@ else ()
set(WebKit2_LIBRARY_TYPE STATIC)
endif ()
+if (${JavaScriptCore_LIBRARY_TYPE} MATCHES STATIC)
+ add_definitions(-DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_JavaScriptCore)
+endif ()
+
#set(WebKit2_USE_PREFIX_HEADER ON)
list(APPEND WebKit2_INCLUDE_DIRECTORIES