[cmake-developers] [CMake 0012866]: find_library, find_path et al should check (user provided) path

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 9 16:01:55 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12866 
====================================================================== 
Reported By:                manday
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12866
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-01-09 16:01 EST
Last Modified:              2012-01-09 16:01 EST
====================================================================== 
Summary:                    find_library, find_path et al should check (user
provided) path
Description: 
find_library, find_path and similar commands (are there any others, judge for
yourself) should, if the user provided a path, check whether this path fulfils
the requirements, id est,

whether it contains the specified file for find_path
whether it is the specified library for find_library

if the given path is found invalid, normal search is performed and -NOTFOUND set
as usual, if the library could not be found.

To implement this consistently, the user provided path should simply serve as a
Path-Hint for the next time find_* is invoked.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-01-09 16:01 manday         New Issue                                    
======================================================================




More information about the cmake-developers mailing list