Fix windows compilation.
This commit is contained in:
parent
b45385e8c7
commit
b17ba8b3a7
23 changed files with 85 additions and 53 deletions
|
@ -20,7 +20,7 @@ list(APPEND graphics_HEADERS
|
|||
RasterPainter.h
|
||||
PainterFactory.h
|
||||
)
|
||||
|
||||
if(UNIX)
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
find_package(OpenGL QUIET)
|
||||
if (OpenGL_FOUND)
|
||||
|
@ -42,6 +42,7 @@ if (OpenGL_FOUND)
|
|||
else()
|
||||
message(STATUS "OpenGL not found - skipping support")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(${MODULE_NAME} SHARED
|
||||
${graphics_LIB_INCLUDES}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue