MantisBT - CMake
View Issue Details
0015552CMakeCMakepublic2015-05-02 06:352016-04-21 08:09
patrik 
Brad King 
highminoralways
closedfixed 
Win-x64-VS2015Windows8.1
CMake 3.2.2 
CMake 3.2.3CMake 3.2.3 
0015552: InstallRequiredSystemLibraries needs to learn about VS 2015
The script breaks with the following warning:

CMake Warning at InstallRequiredSystemLibraries.cmake:424 (message): system runtime library file does not exist: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/redist/x64/Microsoft.VC140.CRT/msvcr140.dll

It seems like in VS2015, Microsoft renamed/reorganised their runtime libraries and the file msvcr140.dll doesn't exist anymore. There are 4 dll's in the Microsoft.VC140.CRT/ folder:

concrt140.dll
msvcp140.dll
vccorlib140.dll
vcruntime140.dll

This may be related: http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx?PageIndex=3 [^]
CPACK, Visual Studio 2015
related to 0016073closed Brad King InstallRequiredSystemLibraries and VS 2015 Universal CRT libraries 
Issue History
2015-05-02 06:35patrikNew Issue
2015-05-02 06:37patrikTag Attached: CPACK
2015-05-02 06:37patrikTag Attached: Visual Studio 2015
2015-05-04 10:04Brad KingAssigned To => Brad King
2015-05-04 10:04Brad KingStatusnew => assigned
2015-05-04 10:04Brad KingTarget Version => CMake 3.3
2015-05-04 10:04Brad KingSummaryInstallRequiredSystemLibraries breaks with VS2015 => InstallRequiredSystemLibraries needs to learn about VS 2015
2015-05-04 12:38Brad KingNote Added: 0038714
2015-05-04 12:38Brad KingStatusassigned => resolved
2015-05-04 12:38Brad KingResolutionopen => fixed
2015-05-04 12:38Brad KingFixed in Version => CMake 3.3
2015-06-01 14:47Brad KingFixed in VersionCMake 3.3 => CMake 3.2.3
2015-06-01 14:47Brad KingTarget VersionCMake 3.3 => CMake 3.2.3
2016-01-04 11:51Robert MaynardNote Added: 0040056
2016-01-04 11:51Robert MaynardStatusresolved => closed
2016-04-21 03:58Nils GladitzRelationship addedhas duplicate 0016073
2016-04-21 08:09Brad KingRelationship replacedrelated to 0016073

Notes
(0038714)
Brad King   
2015-05-04 12:38   
It looks like VS 2015 now splits what was 'msvcr' into 'vcruntime' and 'ucrt'. The latter is to be distributed with Windows, so applications should normally only need to distribute 'vcruntime' instead of 'msvcr':

 InstallRequiredSystemLibraries: Update for VS 2015
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9b2778d4 [^]
(0040056)
Robert Maynard   
2016-01-04 11:51   
Closing resolved issues that have not been updated in more than 4 months.