The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15531 
====================================================================== 
Reported By:                Bjoern Thiel
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15531
Category:                   Modules
Reproducibility:            always
Severity:                   crash
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2015-04-24 05:12 EDT
Last Modified:              2015-04-24 05:12 EDT
====================================================================== 
Summary:                    InstallRequiredSystemLibraries misses MBCS MFC
libraries
Description: 
if("${v}" LESS 12 OR EXISTS "${MSVC${v}_MFC_DIR}/mfc${v}0d.dll")
may be false for version >= 12 as ${MSVC${v}_MFC_DIR} is not always set
correctly at that time.

Additional Information: 
I patched it replacing the
if(mbcs)
with
if("${v}" LESS 12 OR EXISTS "${MSVC${v}_MFC_DIR}/mfc${v}0d.dll")
and
if("${v}" LESS 12 OR EXISTS "${MSVC${v}_MFC_DIR}/mfc${v}0.dll")
and erasing the set(mbcs ... stuff.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-04-24 05:12 Bjoern Thiel   New Issue                                    
======================================================================

-- 

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/mailman/listinfo/cmake-developers

Reply via email to