View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0008059 | CMake | Modules | public | 2008-11-07 12:47 | 2009-02-23 22:54 | ||||
Reporter | Tom Vercauteren | ||||||||
Assigned To | Philip Lowman | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | CMake-2-6 | |||||||
Summary | 0008059: FindBoost several issues 1)boost 1.37 2)gcc version with distcc 3) Manual specification of boost compiler | ||||||||
Description | Using FindBoost.cmake Revision 1.4.2.8 with cmake 2.6.1 fails to find boost 1.37 for several reasons on my system. 1) Boost 1.37 is not in the list of supported boost version 2) I am using "distcc g++-41" as a cmake compiler. The default compiler on my system is "g++" version 4.2. FindBoost consider the boost compiler suffix to be "-gcc42" instead of "-gcc41" 3) In some cases it might be interesting to specify the boost compiler suffix manually. For example if boost was compiled with gcc 4.2 but the current project is compiled with gcc 4.1. | ||||||||
Additional Information | The attached modified FindBoost.cmake fixes these issues. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | FindBoost.cmake [^] (31,141 bytes) 2008-11-07 12:47 | ||||||||
Relationships | |
Relationships |
Notes | |
(0014557) Philip Lowman (developer) 2009-01-15 01:23 |
Tom, Thanks for the patch. I changed your BOOST_COMPILER to Boost_COMPILER to be in line with everything else in the module. The rest of it looked good. Also in this commit is support for Boost_DEBUG. lowman@locke:~/cvs/CMake_write/Modules$ cvs commit FindBoost.cmake Committer: Philip Lowman <philip@yhbt.com> /cvsroot/CMake/CMake/Modules/FindBoost.cmake,v <-- FindBoost.cmake new revision: 1.16; previous revision: 1.15 |
(0014558) Philip Lowman (developer) 2009-01-15 01:29 |
Also, in testing I did uncover an issue with auto detection of Boost_COMPILER failing if you set CC and CXX to have three commands in it (e.g. CC="ccache distcc gcc"). It's a CMake bug, however and nothing wrong with your patch. I'll file a separate bug report for it. |
(0015319) Philip Lowman (developer) 2009-02-23 22:54 |
Fix available in 2.6.3 Thanks for the patch |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-11-07 12:47 | Tom Vercauteren | New Issue | |
2008-11-07 12:47 | Tom Vercauteren | File Added: FindBoost.cmake | |
2009-01-07 14:25 | Bill Hoffman | Status | new => assigned |
2009-01-07 14:25 | Bill Hoffman | Assigned To | => Douglas Gregor |
2009-01-15 01:23 | Philip Lowman | Note Added: 0014557 | |
2009-01-15 01:29 | Philip Lowman | Note Added: 0014558 | |
2009-01-15 19:56 | Philip Lowman | Assigned To | Douglas Gregor => Philip Lowman |
2009-01-15 19:56 | Philip Lowman | Status | assigned => resolved |
2009-01-15 19:56 | Philip Lowman | Resolution | open => fixed |
2009-02-23 22:54 | Philip Lowman | Note Added: 0015319 | |
2009-02-23 22:54 | Philip Lowman | Status | resolved => closed |
2009-02-23 22:54 | Philip Lowman | Fixed in Version | => CMake-2-6 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |