diff options
author | Konstantin Tokarev <annulen@yandex.ru> | 2019-09-11 12:41:53 +0300 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2019-09-11 12:43:26 +0300 |
commit | 1482978d1e764e0c31c2df8890913d6801a8e065 (patch) | |
tree | b2e41908c8e078c00a57e30e5337ca88609e5b2a /Source/PlatformQt.cmake | |
parent | 5087e0ced43d813eb6f765913a6fc3958d2a7a9d (diff) | |
download | qtwebkit-1482978d1e764e0c31c2df8890913d6801a8e065.tar.gz |
Import QtWebKit commit 68b093f76fd3ee458de9d1bbf54e1d5a648a71bd
Change-Id: I62abae1d1e60d2cb65514d01fa89ad44308a6ba4
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/PlatformQt.cmake')
-rw-r--r-- | Source/PlatformQt.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/PlatformQt.cmake b/Source/PlatformQt.cmake index 61648331b..2d58228dc 100644 --- a/Source/PlatformQt.cmake +++ b/Source/PlatformQt.cmake @@ -54,6 +54,15 @@ if (USE_MINIMAL_DEBUG_INFO_MSVC AND MSVC AND CMAKE_BUILD_TYPE STREQUAL "Debug") endif () endif () +if (FORCE_DEBUG_INFO) + if (COMPILER_IS_GCC_OR_CLANG) + if (NOT APPLE) + target_compile_options(WebKit PRIVATE -fdebug-types-section) + target_compile_options(WebKit2 PRIVATE -fdebug-types-section) + endif () + endif () +endif () + # GTest if (TARGET gtest) |