Skip to content

InstallRequiredSystemLibraries: Add support for VS 2017

VS 2017 (VS 15) places its redist DLLs in Microsoft.VC150.* directories but still uses version number 140 in the DLL names. The redist directories now have version numbers in their name, and the MSVC and MFC runtime DLLs may be in directories with different versions. Fill out our logic to handle this.

For now assume we are given the MSVC_REDIST_DIR value as a cache entry. Unfortunately we cannot yet find the VS 2017 MSVC redist directory automatically since there is no registry entry for the VS installation. Later we will have to use cmVSSetupHelper for this.

Issue: #16735 (closed)

Merge request reports