MantisBT - CMake
View Issue Details
0008376CMakeModulespublic2009-01-14 13:132009-02-23 22:43
Michel Lesoinne 
Philip Lowman 
normalminoralways
closedfixed 
CMake-2-6 
CMake-2-6 
0008376: FindFLTK fails because include file can be FL/Fl.H and CMake only looks for FL/Fl.h
This bug seems to be a regression of a bug that was fixed as I found a report of it in
http://www.paraview.org/Bug/view.php?id=915 [^]

In CMake version 2.6 line 179 of FindFLTK.cmake contains:

FIND_PATH(FLTK_INCLUDE_DIR FL/Fl.h ${FLTK_INCLUDE_SEARCH_PATH})

fltk 1.1.9 has Fl.H and no Fl.h thus FLTK is not found.

To get around it, I am forced to call CMake with the following flag: -DFLTK_INCLUDE_DIR=/usr/include/FL
No tags attached.
Issue History
2009-01-14 13:13Michel LesoinneNew Issue
2009-01-20 23:46Philip LowmanAssigned To => Philip Lowman
2009-01-20 23:46Philip LowmanStatusnew => assigned
2009-01-20 23:46Philip LowmanCategoryCMake => Modules
2009-01-21 23:54Philip LowmanNote Added: 0014657
2009-01-21 23:54Philip LowmanStatusassigned => resolved
2009-01-21 23:54Philip LowmanResolutionopen => fixed
2009-02-23 22:43Philip LowmanNote Added: 0015306
2009-02-23 22:43Philip LowmanStatusresolved => closed
2009-02-23 22:43Philip LowmanFixed in Version => CMake-2-6

Notes
(0014657)
Philip Lowman   
2009-01-21 23:54   
Fixed in CVS, thanks for the report

lowman@locke:~/cvs/CMake_write/Modules$ cvs commit FindFLTK.cmake
Committer: Philip Lowman <philip@yhbt.com>
/cvsroot/CMake/CMake/Modules/FindFLTK.cmake,v <-- FindFLTK.cmake
new revision: 1.38; previous revision: 1.37
(0015306)
Philip Lowman   
2009-02-23 22:43   
Fix available in 2.6.3