diff options
Diffstat (limited to 'Source/PlatformQt.cmake')
-rw-r--r-- | Source/PlatformQt.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/PlatformQt.cmake b/Source/PlatformQt.cmake index 7f0a54272..61648331b 100644 --- a/Source/PlatformQt.cmake +++ b/Source/PlatformQt.cmake @@ -33,8 +33,12 @@ if (USE_MINIMAL_DEBUG_INFO AND CMAKE_BUILD_TYPE STREQUAL "Debug") target_compile_options(gtest PRIVATE -g0 -O1) endif () - target_compile_options(WebKit PRIVATE -g1 -O1 -fdebug-types-section) - target_compile_options(WebKit2 PRIVATE -g1 -O1 -fdebug-types-section) + target_compile_options(WebKit PRIVATE -g1 -O1) + target_compile_options(WebKit2 PRIVATE -g1 -O1) + if (NOT APPLE) + target_compile_options(WebKit PRIVATE -fdebug-types-section) + target_compile_options(WebKit2 PRIVATE -fdebug-types-section) + endif () endif () if (USE_MINIMAL_DEBUG_INFO_MSVC AND MSVC AND CMAKE_BUILD_TYPE STREQUAL "Debug") |