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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
