mirror of https://github.com/fltk/fltk
CMake: Fix OpenGL3 examples libglew link order (#226)
This commit is contained in:
parent
1e68edddc0
commit
345e04c083
|
@ -152,7 +152,7 @@ if (APPLE AND (NOT OPTION_APPLE_X11))
|
|||
endif ()
|
||||
set (REQUIRED_LIBS fltk_gl fltk ${OPENGL_LIBRARIES})
|
||||
else ()
|
||||
set (REQUIRED_LIBS fltk_gl fltk ${OPENGL_LIBRARIES} ${LIB_GLEW})
|
||||
set (REQUIRED_LIBS fltk_gl fltk ${LIB_GLEW} ${OPENGL_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
if (OPENGL_FOUND AND LIB_GLEW)
|
||||
|
|
Loading…
Reference in New Issue