MantisBT - CMake
View Issue Details
0009514CMakeModulespublic2009-09-09 14:462016-06-10 14:30
dataangel 
Bill Hoffman 
normalmajoralways
closedmoved 
CMake-2-6 
 
0009514: CHECK_INCLUDE_FILE does support CMAKE_REQUIRED_LIBRARIES
Sometimes just including a header pulls in symbols that require linking against a library. Boost::python pulls in a symbol that you need to link against Python to resolve (using boost 1.40 and python 2.6), so CHECK_INCLUDE_FILE fails.

This could also be circumvented if there were separate TRY_COMPILE and TRY_LINK options, like in autotools.
No tags attached.
Issue History
2009-09-09 14:46dataangelNew Issue
2009-09-09 15:04dataangelNote Added: 0017359
2009-09-11 17:16Bill HoffmanStatusnew => assigned
2009-09-11 17:16Bill HoffmanAssigned To => Bill Hoffman
2010-08-29 10:14Kovarththanan RajaratnamCategoryCMake => Modules
2016-06-10 14:27Kitware RobotNote Added: 0041593
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0017359)
dataangel   
2009-09-09 15:04   
Whoops, that should say *doesn't* support.
(0041593)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.