View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010436CMakeModulespublic2010-03-18 06:142010-11-09 22:57
ReporterChristoph Höger 
Assigned ToPhilip Lowman 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.3Fixed in VersionCMake 2.8.3 
Summary0010436: add search pattern to findpackage boost
DescriptionHi,

I have recently installed boost from

http://ascendwiki.cheme.cmu.edu/Binary_installer_for_Boost_on_MinGW [^]

To this package with cmake I had to add the following line to FindBoost.cmake
(In the FIND_LIBRARY call)

${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}

(cannot create a patch, since this is windows, but it should be obvious).

Please add this pattern to the next distributed version of cmake.
TagsNo tags attached.
Attached Files? file icon FindBoost.cmake.7 [^] (54,757 bytes) 2010-09-09 00:02

 Relationships

  Notes
(0022156)
Philip Lowman (developer)
2010-09-09 00:02

I believe the issue is fixed. The attached version works for me against the library you specified.


set(BOOST_ROOT "C:/Program Files (x86)/Boost-1.41.0")
set(Boost_DEBUG ON)
set(Boost_NO_SYSTEM_PATHS TRUE)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_STATIC_RUNTIME OFF)
find_package(Boost REQUIRED thread system)
(0022157)
Philip Lowman (developer)
2010-09-09 00:04

By issue fixed, I mean I made the change you suggested so that it now finds the library files provided by the binary release of Boost you pointed to.

Additional testing is always welcome. Thanks for filing the ticket in either case.
(0022199)
Philip Lowman (developer)
2010-09-12 22:29

Fix will be in CMake 2.8.3 RC1

 Issue History
Date Modified Username Field Change
2010-03-18 06:14 Christoph Höger New Issue
2010-08-19 08:22 Philip Lowman Status new => assigned
2010-08-19 08:22 Philip Lowman Assigned To => Philip Lowman
2010-09-09 00:02 Philip Lowman Note Added: 0022156
2010-09-09 00:02 Philip Lowman File Added: FindBoost.cmake.7
2010-09-09 00:04 Philip Lowman Note Added: 0022157
2010-09-10 08:39 Philip Lowman ETA none => < 1 day
2010-09-10 08:39 Philip Lowman Target Version => CMake 2.8.3
2010-09-12 22:29 Philip Lowman Note Added: 0022199
2010-09-12 22:29 Philip Lowman Status assigned => resolved
2010-09-12 22:29 Philip Lowman Fixed in Version => CMake 2.8.3
2010-09-12 22:29 Philip Lowman Resolution open => fixed
2010-11-09 22:57 Philip Lowman Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team