forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Alessandro Portale
parent
266991740b
commit
193fa40b34
@@ -54,10 +54,23 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16)
|
|||||||
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP ON)
|
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP ON)
|
||||||
include(InstallRequiredsystemLibraries)
|
include(InstallRequiredsystemLibraries)
|
||||||
|
|
||||||
|
# For Qt Creator
|
||||||
install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
|
install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
|
||||||
DESTINATION ${IDE_APP_PATH}
|
DESTINATION ${IDE_APP_PATH}
|
||||||
COMPONENT Dependencies
|
COMPONENT Dependencies
|
||||||
EXCLUDE_FROM_ALL
|
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()
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user