The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=14903 ====================================================================== Reported By: Felix Krause Assigned To: ====================================================================== Project: CMake Issue ID: 14903 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-05-05 03:35 EDT Last Modified: 2014-05-05 03:35 EDT ====================================================================== Summary: InstallRequiredSystemLibraries 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. ====================================================================== 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 ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
