| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0013958 | CMake | CMake | public | 2013-02-27 11:07 | 2013-07-01 09:39 | ||||
| Reporter | Utkarsh Ayachit | ||||||||
| Assigned To | |||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake 2.8.9 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0013958: FindBoost on Ubuntu behaves erratically | ||||||||
| Description | I'm using system boost. By default the variables are set to: Boost_DIR Boost_DIR-NOTFOUND Boost_INCLUDE_DIR /usr/include Boost_LIBRARY_DIRS /usr/lib Boost_SYSTEM_LIBRARY /usr/lib/libboost_system-mt.a Boost_SYSTEM_LIBRARY_DEBUG /usr/lib/libboost_system-mt.a Boost_SYSTEM_LIBRARY_RELEASE /usr/lib/libboost_system-mt.a Boost_THREAD_LIBRARY /usr/lib/libboost_thread-mt.a Boost_THREAD_LIBRARY_DEBUG /usr/lib/libboost_thread-mt.a Boost_THREAD_LIBRARY_RELEASE /usr/lib/libboost_thread-mt.a Since I want to use shared libs (there's a fPIC problem which Ubuntu 12.10 boost builds), I changed the .a to .so. CMake forces some of the variables back to the following: Boost_SYSTEM_LIBRARY /usr/lib/libboost_system-mt.so Boost_SYSTEM_LIBRARY_DEBUG /usr/lib/libboost_system-mt.a Boost_SYSTEM_LIBRARY_RELEASE /usr/lib/libboost_system-mt.a Boost_THREAD_LIBRARY /usr/lib/libboost_thread-mt.so Boost_THREAD_LIBRARY_DEBUG /usr/lib/libboost_thread-mt.a Boost_THREAD_LIBRARY_RELEASE /usr/lib/libboost_thread-mt.a I cannot get the _DEBUG/_RELEASE to be .so. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0032396) Utkarsh Ayachit (reporter) 2013-02-27 11:16 |
This is a developer bug. On inspecting the code, I see the following: set(Boost_USE_STATIC_LIBS ON) |
|
(0032397) Utkarsh Ayachit (reporter) 2013-02-27 11:28 |
It works fine when I remove "set(Boost_USE_STATIC_LIBS ON)". Feel free to close. |
|
(0033436) Robert Maynard (manager) 2013-07-01 09:39 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2013-02-27 11:07 | Utkarsh Ayachit | New Issue | |
| 2013-02-27 11:16 | Utkarsh Ayachit | Note Added: 0032396 | |
| 2013-02-27 11:28 | Utkarsh Ayachit | Note Added: 0032397 | |
| 2013-02-27 12:00 | Brad King | Status | new => resolved |
| 2013-02-27 12:00 | Brad King | Resolution | open => no change required |
| 2013-07-01 09:39 | Robert Maynard | Note Added: 0033436 | |
| 2013-07-01 09:39 | Robert Maynard | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |