View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003494 | CMake | CMake | public | 2006-07-08 10:29 | 2006-07-11 17:10 | ||||
Reporter | Jan Woetzel | ||||||||
Assigned To | Brad King | ||||||||
Priority | urgent | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003494: ENH: COMPONENTS extension for FIND_PACKAGE( REQUIRED comp1 comp2 ...) | ||||||||
Description | Hi, (1) the attached patch implements the variable <Foo>_FIND_COMPONENTS which extends FIND_PACKAGE(Foo QUIET REQUIRED comp1 comp2 ...) to export a list of the required components. Find scipts can use FOREACH on this variable to handle an arbitrary number of *unknown* components e.g. via macros. (2) The patch contains a minor bugfix of Filipe Sousa to ignore QUIET in teh list of component. QUIET is not added to components on FIND_PACKAGE(Foo REQUIRED comp1 QUIET comp2) Please apply to CVS because I want to use this feature in the new FindwxWidgets.cmake to handle optional and contrib libraries and teh Find script does not know which ones really exists. Jan. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cmFindPackageCommand.cxx.patch [^] (1,585 bytes) 1969-12-31 19:00 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0004443) Brad King (manager) 2006-07-11 17:09 |
I'm assigning this bug to myself. |
(0004444) Brad King (manager) 2006-07-11 17:10 |
I've applied the patch, slightly modified: /cvsroot/CMake/CMake/Source/cmFindPackageCommand.cxx,v <-- cmFindPackageCommand.cxx new revision: 1.19; previous revision: 1.18 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |