View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0032372) Brad King (manager) 2013-02-25 09:02 |
Since 2.8.10.2 the FindBoost module has had a major overhaul in a topic merged here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=634c8bf4 [^] The main change was here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5b9149e0 [^] Please try a recent development version of CMake to try it out. |
(0032373) Michael Riss (reporter) 2013-02-25 09:26 |
Indeed, the overhaul affected the Boost_LIBRARY_DIRS option. It's gone and with it also the bug. Solved, great! Oh, and I hope the change makes it into the next regular release. ;) |
(0032374) Brad King (manager) 2013-02-25 09:36 |
Thanks for reporting back. These changes will be in 2.8.11. |
(0033433) Robert Maynard (manager) 2013-07-01 09:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |