MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0014903 | CMake | Modules | public | 2014-05-05 03:35 | 2015-04-27 10:01 | |||||
Reporter | Felix Krause | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Microsoft Visual Studio 2013 | OS | Windows | OS Version | any | |||||
Product Version | CMake 2.8.12.2 | |||||||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | |||||||
Summary | 0014903: InstallRequiredSystemLibraries CMAKE_INSTALL_MFC_LIBRARIES does not work with MSVC 2013 | |||||||||
Description | The MBCS (Multi-Byte Character Set) has been deprecated with VC 2013, and MSVC no longer ships with an MBCS-version of MFC by default. However, it can be downloaded as an add-on here [1]. The InstallRequiredSystemLibraries module requires the MBCS version of the library even if the unicode version is used. So the user has to install an add-on he does not use just to be able to use the module. [1]: http://msdn.microsoft.com/en-us/library/dn251007.aspx [^] | |||||||||
Steps To Reproduce | Install Visual Studio 2013 Professional and select the MFC libraries as optional component (otherwise they won't be available at all). Create a CMake project with these lines: set(CMAKE_INSTALL_MFC_LIBRARIES ON) include(InstallRequiredSystemLibraries) Try to create an MSVC 2013 project with it. You get the following error: CMake Warning at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:351 (message): system runtime library file does not exist: 'C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/redist/x86/Microsoft.VC120.MFC/mfc120.dll' | |||||||||
Additional Information | The patch attached removes the dependency on the MBCS version for MSVC 12 (= 2013) onward. | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | InstallRequiredSystemLibraries.patch (1,558) 2014-05-05 03:35 https://public.kitware.com/Bug/file/5140/InstallRequiredSystemLibraries.patch InstallRequiredSystemLibraries2.patch (2,059) 2014-05-06 02:31 https://public.kitware.com/Bug/file/5143/InstallRequiredSystemLibraries2.patch | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2014-05-05 03:35 | Felix Krause | New Issue | ||||||||
2014-05-05 03:35 | Felix Krause | File Added: InstallRequiredSystemLibraries.patch | ||||||||
2014-05-05 09:06 | Brad King | Note Added: 0035815 | ||||||||
2014-05-05 10:17 | Brad King | Summary | InstallRequiredSystemLibraries does not work with MSVC 2013 => InstallRequiredSystemLibraries CMAKE_INSTALL_MFC_LIBRARIES does not work with MSVC 2013 | |||||||
2014-05-06 02:31 | Felix Krause | File Added: InstallRequiredSystemLibraries2.patch | ||||||||
2014-05-06 02:32 | Felix Krause | Note Added: 0035823 | ||||||||
2014-05-06 10:00 | Brad King | Note Added: 0035827 | ||||||||
2014-05-06 10:10 | Brad King | Note Added: 0035828 | ||||||||
2014-05-06 10:10 | Brad King | Assigned To | => Brad King | |||||||
2014-05-06 10:10 | Brad King | Status | new => resolved | |||||||
2014-05-06 10:10 | Brad King | Resolution | open => fixed | |||||||
2014-05-06 10:10 | Brad King | Fixed in Version | => CMake 3.0 | |||||||
2014-05-06 10:10 | Brad King | Target Version | => CMake 3.0 | |||||||
2014-11-03 08:38 | Robert Maynard | Note Added: 0037129 | ||||||||
2014-11-03 08:38 | Robert Maynard | Status | resolved => closed | |||||||
2015-04-27 10:01 | Brad King | Relationship added | related to 0015531 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|