[cmake-developers] [CMake 0015531]: InstallRequiredSystemLibraries misses MBCS MFC libraries
Mantis Bug Tracker
mantis at public.kitware.com
Fri Apr 24 05:12:21 EDT 2015
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
======================================================================
More information about the cmake-developers
mailing list