MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009861 | CMake | Modules | public | 2009-11-07 09:30 | 2012-10-04 01:43 |
| Reporter | Mathieu Malaterre | ||||
| Assigned To | Philip Lowman | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | CMake 2.8.9 | |||
| Summary | 0009861: find_package(Boost 1.40 REQUIRED) find_package(Boost 1.41 REQUIRED) | ||||
| Description | The following is required to fails: find_package(Boost 1.40 REQUIRED) # assuming 1.40 is installed find_package(Boost 1.42 REQUIRED) I am guessing the version is being cached so that multiple calls are more efficient, but this breaks the REQUIRED behavior. Some projects may have multiple calls to find_package(Boost) with different requirement on the version. See FindJava module for example, it properly fails for: find_package(Java 1.5 REQUIRED) find_package(Java 1.8 REQUIRED) | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-11-07 09:30 | Mathieu Malaterre | New Issue | |||
| 2010-12-14 16:11 | David Cole | Assigned To | => Philip Lowman | ||
| 2010-12-14 16:11 | David Cole | Status | new => assigned | ||
| 2012-10-04 01:43 | Philip Lowman | Note Added: 0031173 | |||
| 2012-10-04 01:43 | Philip Lowman | Status | assigned => closed | ||
| 2012-10-04 01:43 | Philip Lowman | Resolution | open => fixed | ||
| 2012-10-04 01:43 | Philip Lowman | Fixed in Version | => CMake 2.8.9 | ||
| Notes | |||||
|
|
|||||
|
|
||||