summaryrefslogtreecommitdiffstats
path: root/Modules/FindFLTK.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-07 17:46:02 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-07 17:46:02 (GMT)
commit76f905002617dd534df04f1c1c0842d59f50f531 (patch)
treeddfb26a19fe535d2e17e22bd8fe8ca0c084e6b92 /Modules/FindFLTK.cmake
parentfadff337910f1c6faf5a2e36afe54b6ea1aee0e8 (diff)
downloadCMake-76f905002617dd534df04f1c1c0842d59f50f531.zip
CMake-76f905002617dd534df04f1c1c0842d59f50f531.tar.gz
CMake-76f905002617dd534df04f1c1c0842d59f50f531.tar.bz2
ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r--Modules/FindFLTK.cmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index 8c83fe7..013c4e7 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -73,25 +73,26 @@ IF(FLTK_INCLUDE_DIR)
PATHS /usr/lib /usr/local/lib
/usr/local/lib/fltk
/usr/local/fltk/lib
+ /usr/X11R6/lib64
/usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
)
ENDIF(FLTK_VERSION_1.0.11)
IF(FLTK_VERSION_1.1)
FIND_LIBRARY(FLTK_BASE_LIBRARY NAMES fltk fltkd
PATHS /usr/lib /usr/local/lib /usr/local/fltk/lib
- /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
+ /usr/X11R6/lib64 /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
)
FIND_LIBRARY(FLTK_GL_LIBRARY NAMES fltkgl fltkgld fltk_gl
PATHS /usr/lib /usr/local/lib /usr/local/fltk/lib
- /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
+ /usr/X11R6/lib64 /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
)
FIND_LIBRARY(FLTK_FORMS_LIBRARY NAMES fltkforms fltkformsd fltk_forms
PATHS /usr/lib /usr/local/lib /usr/local/fltk/lib
- /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
+ /usr/X11R6/lib64 /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
)
FIND_LIBRARY(FLTK_IMAGES_LIBRARY NAMES fltkimages fltkimagesd fltk_images
PATHS /usr/lib /usr/local/lib /usr/local/fltk/lib
- /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
+ /usr/X11R6/lib64 /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
)
ENDIF(FLTK_VERSION_1.1)
SET( FLTK_LIBRARIES