summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/PlatformQt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/PlatformQt.cmake')
-rw-r--r--Source/WebKit/PlatformQt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/PlatformQt.cmake b/Source/WebKit/PlatformQt.cmake
index da199aeaf..3e50b2552 100644
--- a/Source/WebKit/PlatformQt.cmake
+++ b/Source/WebKit/PlatformQt.cmake
@@ -758,7 +758,7 @@ install(TARGETS WebKitWidgets EXPORT Qt5WebKitWidgetsTargets
DESTINATION "${LIB_INSTALL_DIR}"
RUNTIME DESTINATION "${BIN_INSTALL_DIR}"
)
-if (MSVC)
+if (MSVC AND NOT QT_STATIC_BUILD)
install(FILES $<TARGET_PDB_FILE:WebKitWidgets> DESTINATION "${BIN_INSTALL_DIR}" OPTIONAL)
endif ()