summaryrefslogtreecommitdiffstats
path: root/src/process
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-09-15 16:54:20 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-09-23 22:05:50 +0200
commitef4175e13d1f541e3877fd599d116907986d938a (patch)
treee996fa1ce87f100d5b14a206389463bcd381a855 /src/process
parent8cce9081f6bf670c97a674a0eaa18e6b6a354f73 (diff)
Apply separate_debug_info to QtWebEngineProcess
Was missing the calls to the qt cmake standard methods for that. Pick-to: 6.2 Change-Id: I47507c6fa89b7f3e66fe4eb7526f6fb6074f2293 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/process')
-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()