Continue adding opengl font support.
This commit is contained in:
parent
649079a5c7
commit
eef93efc29
37 changed files with 530 additions and 157 deletions
|
@ -19,8 +19,14 @@ set(OpenGL_GL_PREFERENCE "GLVND")
|
|||
find_package(OpenGL QUIET)
|
||||
if (OpenGL_FOUND)
|
||||
list(APPEND platform_LIBS OpenGL::GL OpenGL::GLU)
|
||||
list(APPEND graphics_LIB_INCLUDES opengl/OpenGlPainter.cpp)
|
||||
list(APPEND graphics_HEADERS opengl/OpenGlPainter.h)
|
||||
list(APPEND graphics_LIB_INCLUDES
|
||||
opengl/OpenGlPainter.cpp
|
||||
opengl/OpenGlFontTexture.cpp
|
||||
opengl/OpenGlShaderProgram.cpp)
|
||||
list(APPEND graphics_HEADERS
|
||||
opengl/OpenGlPainter.h
|
||||
opengl/OpenGlFontTexture.h
|
||||
opengl/OpenGlShaderProgram.h)
|
||||
else()
|
||||
message(STATUS "OpenGL headers not found - skipping OpenGL support")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue