summaryrefslogtreecommitdiffstats
path: root/Modules/FindFLTK.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2009-01-22 03:43:22 (GMT)
committerPhilip Lowman <philip@yhbt.com>2009-01-22 03:43:22 (GMT)
commit570d6b4aa948c6172bc1c2d605660f6797adc48d (patch)
tree21eb255edfe22cfa2debc6711348aa1857507815 /Modules/FindFLTK.cmake
parentf1e74ae018ec800670d3c27bf6b1a4a833b75188 (diff)
downloadCMake-570d6b4aa948c6172bc1c2d605660f6797adc48d.zip
CMake-570d6b4aa948c6172bc1c2d605660f6797adc48d.tar.gz
CMake-570d6b4aa948c6172bc1c2d605660f6797adc48d.tar.bz2
BUG: Fixes #8376: FindFLTK fails because include file can be FL/Fl.H and CMake
only looks for FL/Fl.h. Verified: all FLTK header files in 1.1.9 are .H ... how bizarre.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r--Modules/FindFLTK.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index 1dc4a59..cde6432 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -177,7 +177,9 @@ ENDIF(NOT FLTK_DIR)
/usr/X11R6/include
)
- FIND_PATH(FLTK_INCLUDE_DIR FL/Fl.h ${FLTK_INCLUDE_SEARCH_PATH})
+ FIND_PATH(FLTK_INCLUDE_DIR
+ NAMES FL/Fl.h FL/Fl.H # fltk 1.1.9 has Fl.H (#8376)
+ PATHS ${FLTK_INCLUDE_SEARCH_PATH})
SET(FLTK_LIBRARY_SEARCH_PATH ${FLTK_LIBRARY_SEARCH_PATH}
/usr/local/fltk/lib