MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015352 | CMake | CMake | public | 2015-01-14 13:11 | 2015-11-02 09:13 |
Reporter | Joachim Wuttke | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | amd64 | OS | Debian | OS Version | jessie |
Product Version | CMake 3.0.2 | ||||
Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||
Summary | 0015352: FPHSA: Document the kind of variable that should be given to REQUIRED_VARS | ||||
Description | Code example: set (FOO_LIBRARIES ${FOO_LIB_A} ${FOO_LIB_B}) find_package_handle_standard_args (FOO DEFAULT_MSG FOO_LIBRARIES FOO_INCLUDE_DIR) If lib A is missing, I get the error message: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: FOO_LIB_A However, if lib B (or more generally, the last item in FOO_LIBRARIES) is missing, I get the less informative: CMake Error at /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message): Could NOT find Foo (missing: FOO_LIBRARIES) Call Stack (most recent call first): /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE) my_cmake_modules/FindFoo.cmake:84 (find_package_handle_standard_args) | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-01-14 13:11 | Joachim Wuttke | New Issue | |||
2015-01-14 16:42 | Brad King | Status | new => acknowledged | ||
2015-01-14 16:42 | Brad King | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=1670#r1670 | ||
2015-01-15 07:31 | Brad King | Note Added: 0037695 | |||
2015-04-15 14:47 | Brad King | Assigned To | => Brad King | ||
2015-04-15 14:47 | Brad King | Status | acknowledged => assigned | ||
2015-04-15 14:47 | Brad King | Target Version | => CMake 3.3 | ||
2015-04-15 14:47 | Brad King | Summary | find_package_handle_standard_args generates inadequate error message when last item in a list is unavailable => FPHSA: Document the kind of variable that should be given to REQUIRED_VARS | ||
2015-04-15 14:47 | Brad King | Note Added: 0038527 | |||
2015-04-15 14:48 | Brad King | Status | assigned => resolved | ||
2015-04-15 14:48 | Brad King | Resolution | open => fixed | ||
2015-04-15 14:48 | Brad King | Fixed in Version | => CMake 3.3 | ||
2015-04-17 10:48 | Brad King | Note Edited: 0038527 | bug_revision_view_page.php?bugnote_id=38527#r1765 | ||
2015-11-02 09:13 | Robert Maynard | Note Added: 0039778 | |||
2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|