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.
This commit is contained in:
Luis Ibanez 2002-08-02 13:43:54 -04:00
parent 46a327c79d
commit 596614e9aa
1 changed files with 2 additions and 2 deletions

View File

@ -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
)