From 193fa40b34eb206efc13585c4233ebe344a8a5f0 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Wed, 19 Feb 2020 15:28:05 +0100 Subject: GitHub Actions: Fix MSVC CDB debugger Install the VC Runtime for the qtcreatorcdbext component Change-Id: I22a7620be51acca53313bcac4b54746214d7b13f Reviewed-by: Alessandro Portale --- cmake/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'cmake') diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 5904b8bd307..47c8c696f0d 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -54,10 +54,23 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16) set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP ON) include(InstallRequiredsystemLibraries) + # For Qt Creator install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION ${IDE_APP_PATH} COMPONENT Dependencies EXCLUDE_FROM_ALL ) + + # For qtcreatorcdbext + set(ArchSuffix 32) + if (CMAKE_SIZEOF_VOID_P EQUAL 8) + set(ArchSuffix 64) + endif() + + install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} + DESTINATION lib/qtcreatorcdbext${ArchSuffix} + COMPONENT Dependencies + EXCLUDE_FROM_ALL + ) endif() endif() -- cgit v1.2.3