[cmake-developers] [CMake 0013142]: Treatment of [components…] argument to find_package undocumented

Mantis Bug Tracker mantis at public.kitware.com
Tue Apr 17 22:12:29 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13142 
====================================================================== 
Reported By:                Dave Abrahams
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13142
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-17 22:12 EDT
Last Modified:              2012-04-17 22:12 EDT
====================================================================== 
Summary:                    Treatment of [components…] argument to
find_package undocumented
Description: 
There's no description of how components... is actually dealt with.  In a
project I'm working with, for example,

  find_package( Boost COMPONENTS date_time filesystem system ... )

works, yet it finds a file called BoostDateTimeConfig.cmake

How that can possibly work is lost on me.  The docs for find_package /seem/ to
indicate that it will only find BoostConfig.cmake... and it's hard to imagine
the textual transformation from date_time to DateTime.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-17 22:12 Dave Abrahams  New Issue                                    
======================================================================




More information about the cmake-developers mailing list