From af4c63c2c931108641961f7d141dc44a8a8c21cf Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 15 Sep 2021 16:54:20 +0200 Subject: 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 (cherry picked from commit ef4175e13d1f541e3877fd599d116907986d938a) Reviewed-by: Qt Cherry-pick Bot --- src/process/CMakeLists.txt | 8 +++----- 1 file 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 "$" OPTIONAL - DESTINATION "${INSTALL_LIBEXECDIR}" - ) -endif() -- cgit v1.2.3