summaryrefslogtreecommitdiffstats
path: root/Modules/FindFLTK.cmake
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2002-08-02 17:43:54 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2002-08-02 17:43:54 (GMT)
commit596614e9aaf5c5a33a6f6611240ac6ad2f240854 (patch)
tree00f2b9cf54009dd63ca1516a9ee9d218cdde5128 /Modules/FindFLTK.cmake
parent46a327c79d633c927f1e4a9068900c3fc34a48b0 (diff)
downloadCMake-596614e9aaf5c5a33a6f6611240ac6ad2f240854.zip
CMake-596614e9aaf5c5a33a6f6611240ac6ad2f240854.tar.gz
CMake-596614e9aaf5c5a33a6f6611240ac6ad2f240854.tar.bz2
FIX: names styles for fltkgl and fltkforms are different in windows and linux.
Both styles are now searched taking advantage of the NAMES option in FIND_LIBRARY.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r--Modules/FindFLTK.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index 3f5362c..87d6df3 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -44,11 +44,11 @@ IF(FLTK_INCLUDE_PATH)
PATHS /usr/lib /usr/local/lib /usr/local/fltk/lib H:/usr/local/fltk/lib /usr/X11R6/lib
${FLTK_INCLUDE_PATH}/lib
)
- FIND_LIBRARY(FLTK_GL_LIBRARY fltkgl
+ FIND_LIBRARY(FLTK_GL_LIBRARY NAMES fltkgl fltk_gl
PATHS /usr/lib /usr/local/lib /usr/local/fltk/lib H:/usr/local/fltk/lib /usr/X11R6/lib
${FLTK_INCLUDE_PATH}/lib
)
- FIND_LIBRARY(FLTK_FORMS_LIBRARY fltkforms
+ FIND_LIBRARY(FLTK_FORMS_LIBRARY NAMES fltkforms fltk_forms
PATHS /usr/lib /usr/local/lib /usr/local/fltk/lib H:/usr/local/fltk/lib /usr/X11R6/lib
${FLTK_INCLUDE_PATH}/lib
)