| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0004378 | CMake | Modules | public | 2007-01-29 05:55 | 2008-07-03 16:00 | ||||
| Reporter | oleg dashevskii | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | CMake-2-6 | |||||||
| Summary | 0004378: Boost libs are not found | ||||||||
| Description | My C++ program uses Boost, so I put find_package(Boost) into CMakeLists.txt I found out that Boost_LIBRARY_DIRS variable doesn't get its way into cache, it remains local to FindBoost.cmake and therefore cannot be used. Simple fix: (FindBoost.cmake, line 144): SET(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIR} CACHE FILEPATH "Boost library dir") | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0010122) Alex Neundorf (developer) 2008-01-10 16:41 |
Why does it need to go in the cache ? Alex |
|
(0011488) Douglas Gregor (developer) 2008-04-22 13:32 |
The updated FindBoost module now sets Boost_LIBRARY_DIRS as a cache variable when Boost is found. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-01-10 16:41 | Alex Neundorf | Note Added: 0010122 | |
| 2008-04-22 13:32 | Douglas Gregor | Status | assigned => resolved |
| 2008-04-22 13:32 | Douglas Gregor | Fixed in Version | => CMake-2-6 |
| 2008-04-22 13:32 | Douglas Gregor | Resolution | open => fixed |
| 2008-04-22 13:32 | Douglas Gregor | Note Added: 0011488 | |
| 2008-07-03 16:00 | Douglas Gregor | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |