Skip to content
Snippets Groups Projects
Commit 596614e9 authored by Luis Ibanez's avatar Luis Ibanez
Browse files

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.
parent 46a327c7
No related branches found
No related tags found
No related merge requests found
......@@ -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
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment