diff options
author | Brad King <brad.king@kitware.com> | 2005-04-07 13:46:02 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-07 13:46:02 -0400 |
commit | 76f905002617dd534df04f1c1c0842d59f50f531 (patch) | |
tree | ddfb26a19fe535d2e17e22bd8fe8ca0c084e6b92 /Modules/FindFLTK.cmake | |
parent | fadff337910f1c6faf5a2e36afe54b6ea1aee0e8 (diff) | |
download | cmake-76f905002617dd534df04f1c1c0842d59f50f531.tar.gz |
ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r-- | Modules/FindFLTK.cmake | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake index 8c83fe72da..013c4e7b59 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 |