View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0008398 | CMake | CMake | public | 2009-01-19 10:23 | 2009-02-23 22:44 | ||||
Reporter | Torsten Maehne | ||||||||
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 | 0008398: FindBoost.cmake requires C language support to be activated to detect GNU C++ compiler | ||||||||
Description | FindBoost.cmake in CMake 2.6.2 (and CVS) uses CMAKE_COMPILER_IS_GNUCC to detect, if it uses the GNU C++ compiler. This works as long as the C language support is actived through the project (PROJECT_NAME CXX C) command. However, if only C++ support is activated, it wrongly assumes on the Unix platform to use the Intel C++ compiler and thus fails to find the different component libraries. Therefore CMAKE_COMPILER_IS_GNUCXX should be used. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0014622) Bill Hoffman (manager) 2009-01-19 18:08 |
It should use the CXX version of that variable... |
(0014629) Philip Lowman (developer) 2009-01-19 19:32 |
I've changed it to CMAKE_COMPILER_IS_GNUCXX as it should be. 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.29; previous revision: 1.28 Please take note that extremely recent CVS versions of FindBoost shouldn't fall victim to this bug however as I removed the hacky conditional that assumes Intel C++ if GCC is not being used sometime over this past weekend. Now the code has a special conditional for Intel. elseif("${CMAKE_CXX_COMPILER}" MATCHES "icl") if(WIN32) set (_boost_COMPILER "-iw") else() set (_boost_COMPILER "-il") endif() elseif (MINGW) I'm downloading the non-commercial version of Intel C++ compiler to fix the "-il" issue. Apparently newer boost builds encode the version of the Intel Linux compiler into the library name, just like GCC. They don't do this for Intel Windows however. |
(0014639) Philip Lowman (developer) 2009-01-19 21:24 |
Some clarification about my comment on "-il" can be found at Issue 0008395. |
(0015309) Philip Lowman (developer) 2009-02-23 22:44 |
Fix available in 2.6.3 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-01-19 10:23 | Torsten Maehne | New Issue | |
2009-01-19 18:08 | Bill Hoffman | Note Added: 0014622 | |
2009-01-19 18:08 | Bill Hoffman | Status | new => assigned |
2009-01-19 18:08 | Bill Hoffman | Assigned To | => Philip Lowman |
2009-01-19 19:32 | Philip Lowman | Note Added: 0014629 | |
2009-01-19 19:32 | Philip Lowman | Status | assigned => resolved |
2009-01-19 19:32 | Philip Lowman | Resolution | open => fixed |
2009-01-19 21:24 | Philip Lowman | Note Added: 0014639 | |
2009-01-19 21:24 | Philip Lowman | Status | resolved => feedback |
2009-01-19 21:24 | Philip Lowman | Resolution | fixed => reopened |
2009-01-19 21:26 | Philip Lowman | Status | feedback => resolved |
2009-01-19 21:26 | Philip Lowman | Resolution | reopened => fixed |
2009-02-23 22:44 | Philip Lowman | Note Added: 0015309 | |
2009-02-23 22:44 | Philip Lowman | Status | resolved => closed |
2009-02-23 22:44 | Philip Lowman | Fixed in Version | => CMake-2-6 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |