Some opengl additions

This commit is contained in:
James Grogan 2022-11-15 11:50:24 +00:00
parent 72123bc333
commit 649079a5c7
6 changed files with 163 additions and 17 deletions

View file

@ -18,7 +18,7 @@ list(APPEND graphics_HEADERS
set(OpenGL_GL_PREFERENCE "GLVND")
find_package(OpenGL QUIET)
if (OpenGL_FOUND)
list(APPEND platform_LIBS OpenGL::GL)
list(APPEND platform_LIBS OpenGL::GL OpenGL::GLU)
list(APPEND graphics_LIB_INCLUDES opengl/OpenGlPainter.cpp)
list(APPEND graphics_HEADERS opengl/OpenGlPainter.h)
else()