View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0029554) dam (reporter) 2012-05-24 08:19 |
Please close this bug because it is a misunderstanding about how cmake works. |
(0030425) David Cole (manager) 2012-08-11 21:35 |
Sending old, never assigned issues to the backlog. (The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...) If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^] It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing. |
(0042053) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |