The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12273 
====================================================================== 
Reported By:                Claudio Bley
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12273
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-06-15 04:01 EDT
Last Modified:              2011-06-15 04:01 EDT
====================================================================== 
Summary:                    FindBoost fails to locate thread library when
Boost_THREADAPI set to win32
Description: 
When cross-compiling to MS Windows, trying to use Boost.Thread with win32 thread
API,
the function _Boost_PREPEND_LIST_WITH_THREADAPI fails to work:

===
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:902 ] Searching for
THREAD_LIBRARY_RELEASE:
libboost_thread_win32-mgw44-mt-1_46_1libboost_thread_win32-mgw44-mtlibboost_thread_win32-mt-1_46_1libboost_thread_win32-mtlibboost_thread_win32;libboost_thread-mgw44-mt-1_46_1;libboost_thread-mgw44-mt;libboost_thread-mt-1_46_1;libboost_thread-mt;libboost_thread
===

(note the missing ';' between library names)

Steps to Reproduce: 
===
set(Boost_THREADAPI win32)
set(Boost_DEBUG ON)
find_package(Boost 1.44 REQUIRED COMPONENTS thread)
===

Additional Information: 
patch attached.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-15 04:01 Claudio Bley   New Issue                                    
2011-06-15 04:01 Claudio Bley   File Added: findboost_threadapi.diff            
       
======================================================================

_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to