Some opengl additions
This commit is contained in:
parent
72123bc333
commit
649079a5c7
6 changed files with 163 additions and 17 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue