[cmake-developers] [CMake 0011363]: FindBoost.cmake fails to find debug libraries in tagged layout boost installation

Mantis Bug Tracker mantis at public.kitware.com
Tue Oct 26 10:42:58 EDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11363 
====================================================================== 
Reported By:                ngladitz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11363
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-10-26 10:42 EDT
Last Modified:              2010-10-26 10:42 EDT
====================================================================== 
Summary:                    FindBoost.cmake fails to find debug libraries in
tagged layout boost installation
Description: 
I did a --layout=tagged build of Boost 1.42.0 on windows.
The resulting installed libraries are named like this:

libboost_filesystem-mt.lib
libboost_filesystem-mt-gd.lib

FindBoost.cmake picks up libboost_filesystem-mt.lib for both debug and
release.

To properly detect the debug library the following name seems to be
missing from the list of possible debug names:
${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-26 10:42 ngladitz       New Issue                                    
======================================================================




More information about the cmake-developers mailing list