[cmake-developers] [CMake 0013958]: FindBoost on Ubuntu behaves erratically
Mantis Bug Tracker
mantis at public.kitware.com
Wed Feb 27 11:07:42 EST 2013
The following issue has been SUBMITTED.
======================================================================
http://cmake.org/Bug/view.php?id=13958
======================================================================
Reported By: Utkarsh Ayachit
Assigned To:
======================================================================
Project: CMake
Issue ID: 13958
Category: CMake
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-02-27 11:07 EST
Last Modified: 2013-02-27 11:07 EST
======================================================================
Summary: 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-02-27 11:07 Utkarsh AyachitNew Issue
======================================================================
More information about the cmake-developers
mailing list