Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,183
    • Issues 3,183
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • CMake
  • CMakeCMake
  • Issues
  • #17184

Closed
Open
Opened Aug 18, 2017 by karliss@karliss

InstallRequiredSystemLibraries doesn't work with VS 15.3

VS 15.3 changed the MSVC redistributable library locations:

Visual C++ Redist file directories have been renamed to Microsoft.VC141.* to match versioning with the toolset (14.1x). In Visual Studio 2017 RTM, these directories were incorrectly named Microsoft.VC150.*.

If I understood correctly CMake currently uses ${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.CRT where vs is 15 but path has been changed to MicrosoftVC141.CRT, older version of VS2017 used Microsoft.VC150.CRT. Creating a test case is slightly problematic as Microsoft doesn't provide an easy way of downgrading to older versions of VS2017 so I can't verify the old behavior.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
3.9.2
Milestone
3.9.2 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: cmake/cmake#17184