[cmake-developers] [CMake 0014741]: FindCXXFeatures (in branch next) does not work

Mantis Bug Tracker mantis at public.kitware.com
Thu Feb 6 21:17:33 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14741 
====================================================================== 
Reported By:                nicolasmartin3d
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14741
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-02-06 21:17 EST
Last Modified:              2014-02-06 21:17 EST
====================================================================== 
Summary:                    FindCXXFeatures (in branch next) does not work
Description: 
Hi,

I know the file is not part of current release, but still I think this is a bug
if it the file is included as is.
I tested the module FindCXXFeatures.cmake in the branch next, and it did not
work.

This is because the file skipped over the check for features, and directly
failed.
Changing :
foreach (_cxx_feature IN LISTS CXXFEATURES_FIND_COMPONENTS)
to :
foreach (_cxx_feature IN LISTS CXXFeatures_FIND_COMPONENTS)
did the trick.

I would like to add the check for another feature, in particular for
std::thread. Should I open another ticket for this ?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-02-06 21:17 nicolasmartin3dNew Issue                                    
======================================================================



More information about the cmake-developers mailing list