View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008335CMakeModulespublic2008-12-30 12:452009-02-24 01:03
ReporterChristian Ehrlicher 
Assigned ToDouglas Gregor 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008335: FindBoost.cmake does not set BOOST_DYN_LINK
DescriptionFindBoost.cmake does not set BOOST_DYN_LINK when Boost_USE_STATIC_LIBS is OFF but it's needed for automatic linking on windows/msvc. Otherwise automatic linking wants to link against the static boost libraries.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0014609)
Philip Lowman (developer)
2009-01-18 18:18

Adding a simple TARGET_LINK_LIBRARIES(foo ${Boost_LIBRARIES}) seems to fix this problem.

I think better documentation would be the best approach to solving this problem. Making Boost_USE_STATIC_LIBS do any kind of automatic definition of preprocessing symbols would be bad form.
(0014612)
Philip Lowman (developer)
2009-01-19 02:29

I've clarified the documentation for now just so this can make the 2.6.3 release.

Committer: Philip Lowman <philip@yhbt.com>
/cvsroot/CMake/CMake/Modules/FindBoost.cmake,v <-- FindBoost.cmake
new revision: 1.26; previous revision: 1.25

 Issue History
Date Modified Username Field Change
2008-12-30 12:45 Christian Ehrlicher New Issue
2009-01-07 14:32 Bill Hoffman Status new => assigned
2009-01-07 14:32 Bill Hoffman Assigned To => Douglas Gregor
2009-01-18 18:18 Philip Lowman Note Added: 0014609
2009-01-19 02:29 Philip Lowman Note Added: 0014612
2009-01-19 02:29 Philip Lowman Status assigned => resolved
2009-01-19 02:29 Philip Lowman Resolution open => no change required
2009-02-24 01:03 Philip Lowman Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team