summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/PlatformQt.cmake
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2017-05-08 01:22:24 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2017-05-08 22:46:34 +0000
commit0fcedcd17cc00d3dd44c718b3cb36c1033319671 (patch)
treea794dff3274695e99c651902dde93d934ea7a5af /Source/WebKit2/PlatformQt.cmake
parent6469f308c0f0f710544d7d55c7655384bed27795 (diff)
Import WebKit commit b25ce6eca994718717218f56d045e75a4a22f989
Change-Id: Ied338d9a16b44b5da35d484e80a21acc284eb625 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
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