diff options
author | Cristian Adam <cristian.adam@qt.io> | 2020-02-19 15:28:05 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2020-02-19 14:36:26 +0000 |
commit | 193fa40b34eb206efc13585c4233ebe344a8a5f0 (patch) | |
tree | 1a15b6eb83e62590df6ef27180946e4ec0f36140 /cmake | |
parent | 266991740b39d5cbb9e2cefdb0ee11abe0b46fd3 (diff) |
GitHub Actions: Fix MSVC CDB debugger
Install the VC Runtime for the qtcreatorcdbext component
Change-Id: I22a7620be51acca53313bcac4b54746214d7b13f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 5904b8bd30..47c8c696f0 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() |