MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012003 | CMake | CMake | public | 2011-03-22 20:05 | 2016-06-10 14:31 |
Reporter | Nick Devenish | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Mac | OS | OS X | OS Version | 10.6 |
Product Version | CMake 2.8.4 | ||||
Target Version | Fixed in Version | ||||
Summary | 0012003: find_package fails but reports success with case in sensitive filesystems | ||||
Description | When using find_package (i.e. boost) on the mac, you can have a situation where you use (note the package case): find_package(boost COMPONENTS thread) And do not get a failure, because the "FindBoost.cmake" file has been run, because of the insensitivity of filename reads of the mac filesystem. However, this file expects it's variables to all be set in the form "${Boost_FIND_COMPONENTS}" - but the differently cased "${boost_FIND_COMPONENTS}" are the ones passed through. The outcome is that the package is incorrectly configured, but no warnings or errors are reported. I would have at least expected a warning, because I can't imagine this behaviour ever being desired. | ||||
Steps To Reproduce | On Mac, CMakeList.txt: find_package(boost 1.34 COMPONENTS thread ) message("Boost_LIBRARIES: " ${Boost_LIBRARIES}) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-03-22 20:05 | Nick Devenish | New Issue | |||
2012-08-11 11:09 | David Cole | Status | new => backlog | ||
2012-08-11 11:09 | David Cole | Note Added: 0030245 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041823 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|