MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013950 | CMake | Modules | public | 2013-02-25 07:48 | 2013-07-01 09:38 |
Reporter | Michael Riss | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | PC | OS | Linux Mint | OS Version | KDE 12 |
Product Version | CMake 2.8.10.2 | ||||
Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 | ||
Summary | 0013950: FindBoost.cmake declares Boost_LIBRARY_DIRS as FILEPATH | ||||
Description | FindBoost.cmake declares the variable "Boost_LIBRARY_DIRS" as FILEPATH, thereby instructing cmake-gui to search for a file instead of a directory. => the file requester function of cmake-gui cannot be used to choose the "Boost_LIBRARY_DIRS" directory Suggestion: Change the type of the variable "Boost_LIBRARY_DIRS" in FindBoost.cmake from FILEPATH to PATH. Caution: The variable is declared in two locations in FindBoost.cmake, so two lines need to be edited. | ||||
Steps To Reproduce | - use "find_package( Boost )" in a CMakeLists.txt file - configure the project with cmake-gui - try to change the Boost_LIBRARY_DIRS variable using the FileRequester button => it's not possible to choose a directory, as the FileRequester wants to choose a file | ||||
Additional Information | Workaround: it's still possible to set the directory path manually in cmake-gui with the line edit field. PS: I did the suggested changes and now I can select the directory also with the file requester. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-02-25 07:48 | Michael Riss | New Issue | |||
2013-02-25 09:02 | Brad King | Note Added: 0032372 | |||
2013-02-25 09:26 | Michael Riss | Note Added: 0032373 | |||
2013-02-25 09:36 | Brad King | Note Added: 0032374 | |||
2013-02-25 09:36 | Brad King | Assigned To | => Brad King | ||
2013-02-25 09:36 | Brad King | Status | new => resolved | ||
2013-02-25 09:36 | Brad King | Resolution | open => fixed | ||
2013-02-25 09:36 | Brad King | Fixed in Version | => CMake 2.8.11 | ||
2013-02-25 09:36 | Brad King | Target Version | => CMake 2.8.11 | ||
2013-07-01 09:38 | Robert Maynard | Note Added: 0033433 | |||
2013-07-01 09:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|