View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008576CMakeModulespublic2009-02-21 08:562009-02-24 00:53
ReporterMikko Vainio 
Assigned ToPhilip Lowman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008576: Setting Boost_LIB_PREFIX to "lib" on windows.
DescriptionBoost uses the library naming prefix "lib" for statically linked libraries on Windows. FindBoost.cake sets the prefix correctly only if MSVC is defined. Tested boost 1.38.0 with MinGW, Intel and MSVC90.

Patch (change line 506):

  # Setting some more suffixes for the library
  SET (Boost_LIB_PREFIX "")
  -if ( MSVC AND Boost_USE_STATIC_LIBS )
  +if ( WIN32 AND Boost_USE_STATIC_LIBS )
    SET (Boost_LIB_PREFIX "lib")
  endif()
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0015320)
Philip Lowman (developer)
2009-02-24 00:53

Thanks for reporting this. I'm extremely sorry about the problem, it's a regression I carelessly introduced in revision 1.25 which unfortunately made it into the 2.6.3 release.

http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindBoost.cmake?root=CMake&r1=1.24&r2=1.25 [^]

The problem has been fixed in CVS. I'll be sure to put out a call for testing prior to the next stable release of FindBoost and be more careful making modifications in the future.

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

 Issue History
Date Modified Username Field Change
2009-02-21 08:56 Mikko Vainio New Issue
2009-02-24 00:53 Philip Lowman Note Added: 0015320
2009-02-24 00:53 Philip Lowman Assigned To => Philip Lowman
2009-02-24 00:53 Philip Lowman Status new => closed
2009-02-24 00:53 Philip Lowman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team