MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013244 | CMake | CMake | public | 2012-05-23 05:03 | 2016-06-10 14:31 |
Reporter | dam | ||||
Assigned To | Philip Lowman | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013244: components are append to Boost_LIBRARIES | ||||
Description | When using FindBoost in the same CMakeLists.txt and with different components, the variable Boost_LIBRARIES contains the union of the components. I think that Boost_LIBRARIES variable should be cleared when each time find_package(Boost ...) is invoked, or perhaps the doc should mentioned this behavior. | ||||
Steps To Reproduce | cmake_minimum_required(VERSION 2.8 FATAL_ERROR) project(foo) find_package(Boost COMPONENTS thread) message("boost libs: ${Boost_LIBRARIES}") find_package(Boost COMPONENTS date_time) message("\nboost libs: ${Boost_LIBRARIES}") # the result is: # boost libs: /usr/lib/libboost_thread-mt.so # # boost libs: /usr/lib/libboost_thread-mt.so;/usr/lib/libboost_date_time-mt.so # but I think it should be: # boost libs: /usr/lib/libboost_date_time-mt.so | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-05-23 05:03 | dam | New Issue | |||
2012-05-24 08:19 | dam | Note Added: 0029554 | |||
2012-08-11 21:35 | David Cole | Status | new => backlog | ||
2012-08-11 21:35 | David Cole | Note Added: 0030425 | |||
2012-08-18 15:29 | Philip Lowman | Status | backlog => assigned | ||
2012-08-18 15:29 | Philip Lowman | Assigned To | => Philip Lowman | ||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042053 | |||
2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|