summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-09-15 16:54:20 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-13 08:04:17 +0000
commitaf4c63c2c931108641961f7d141dc44a8a8c21cf (patch)
treef195989ccafbafeb6fbe51b4fd78595fb1658e19
parent57e3d6cc22d864fb89572dc41ac40273d136f5f9 (diff)
Apply separate_debug_info to QtWebEngineProcess
Was missing the calls to the qt cmake standard methods for that. Change-Id: I47507c6fa89b7f3e66fe4eb7526f6fb6074f2293 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit ef4175e13d1f541e3877fd599d116907986d938a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/process/CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/process/CMakeLists.txt b/src/process/CMakeLists.txt
index a520ee712..8d146aa61 100644
--- a/src/process/CMakeLists.txt
+++ b/src/process/CMakeLists.txt
@@ -73,16 +73,14 @@ if(isFramework)
BUNDLE DESTINATION ./lib/QtWebEngineCore.framework/Versions/A/Helpers
COMPONENT Runtime
)
+ qt_enable_separate_debug_info(${qtWebEngineProcessName} ./lib/QtWebEngineCore.framework/Versions/A/Helpers QT_EXECUTABLE)
else()
qt_apply_rpaths(TARGET ${qtWebEngineProcessName} INSTALL_PATH "${INSTALL_LIBEXECDIR}" RELATIVE_RPATH)
install(TARGETS ${qtWebEngineProcessName}
CONFIGURATIONS ${configs}
RUNTIME DESTINATION "${INSTALL_LIBEXECDIR}"
)
+ qt_enable_separate_debug_info(${qtWebEngineProcessName} "${INSTALL_LIBEXECDIR}" QT_EXECUTABLE)
+ qt_internal_install_pdb_files(${qtWebEngineProcessName} "${INSTALL_LIBEXECDIR}")
endif()
-if(MSVC)
- install(FILES "$<TARGET_PDB_FILE:${qtWebEngineProcessName}>" OPTIONAL
- DESTINATION "${INSTALL_LIBEXECDIR}"
- )
-endif()