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:
parent
46a327c79d
commit
596614e9aa
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue