View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012273CMakeCMakepublic2011-06-15 04:012012-05-09 15:26
ReporterClaudio Bley 
Assigned ToPhilip Lowman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformamd64OSlinuxOS Version2.6.38
Product VersionCMake 2.8.3 
Target VersionCMake 2.8.7Fixed in Version 
Summary0012273: FindBoost fails to locate thread library when Boost_THREADAPI set to win32
DescriptionWhen 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 Informationpatch attached.
Tagsboost, patch
Attached Filesdiff file icon findboost_threadapi.diff [^] (501 bytes) 2011-06-15 04:01 [Show Content]

 Relationships

  Notes
(0028010)
David Cole (manager)
2011-12-19 11:15

Fixed pushed to 'next':

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cdf522436f6623d8a2ded55aa3192a7041c7773b [^]
(0029455)
David Cole (manager)
2012-05-09 15:26

Closing resolved issues that have not been updated in more than 4 months.

 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
2011-10-20 07:57 Claudio Bley Tag Attached: patch
2011-10-20 07:57 Claudio Bley Tag Attached: boost
2011-10-28 07:14 David Cole Assigned To => Philip Lowman
2011-10-28 07:14 David Cole Status new => assigned
2011-10-28 07:14 David Cole Target Version => CMake 2.8.7
2011-12-19 11:15 David Cole Note Added: 0028010
2011-12-19 11:15 David Cole Status assigned => resolved
2011-12-19 11:15 David Cole Resolution open => fixed
2012-05-09 15:26 David Cole Note Added: 0029455
2012-05-09 15:26 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team