CMake: Fix OpenGL3 examples libglew link order (#226)

This commit is contained in:
Albrecht Schlosser 2022-03-09 22:38:05 +01:00
parent 1e68edddc0
commit 345e04c083
1 changed files with 1 additions and 1 deletions

View File

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