MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015551 | CMake | CMake | public | 2015-05-01 13:58 | 2016-06-10 14:31 |
| Reporter | Zack Snyder | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Windows | OS | Windows | OS Version | 8.1 |
| Product Version | CMake 3.2.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015551: Boost libraries (.dll & .lib) should be found automatically inside the specified BOOST_ROOT directory | ||||
| Description | The boost binaries are not found when they are located under a certain sub directory in BOOST_ROOT. I downloaded the prebuild boost binaries from: http://sourceforge.net/projects/boost/files/boost-binaries/ [^] That will install the boost headers and libraries within one folder. The folder of the binaries is called e.g. "lib32-msvc-12.0" or "lib64-msvc-12.0" These folders are located under the BOOST_ROOT directory. Finding boost within cmake will not work for the binaries, i.e.: find_package(Boost COMPONENTS chrono system) this will result in an error. The user has to specify the environment variable BOOST_LIBRARYDIR. e.g. set BOOST_LIBRARYDIR=%BOOST_ROOT%/lib64-msvc-12.0 and of course for 32 bit another directory. Request: 1) Is it possible that CMake can automatically iterate through the directory of boost and find this libraries? Or maybe you can add support to look after a directory called "lib64-*" or "lib32-*" and look into those. 2) It should be also automatically found the correct binaries architecture for the currently used compiler, e.g. 32bit binaries for 32 compiler, etc... | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-05-01 13:58 | Zack Snyder | New Issue | |||
| 2015-05-01 14:07 | Brad King | Note Added: 0038676 | |||
| 2015-05-04 16:11 | Zack Snyder | Note Added: 0038715 | |||
| 2015-05-04 16:25 | Brad King | Note Added: 0038716 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042771 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||