Merge branch 'master' into blender2.8

This commit is contained in:
Sergey Sharybin 2018-12-14 14:50:47 +01:00
commit e54182427a
1 changed files with 8 additions and 1 deletions

View File

@ -47,6 +47,13 @@ endif()
cmake_minimum_required(VERSION 3.5)
# Prever LEGACY OpenGL to eb compatible with all the existing releases and
# platforms which don't hare GLVND yet. Only do it if preference was not set
# externally.
if(NOT DEFINED OpenGL_GL_PREFERENCE)
set(OpenGL_GL_PREFERENCE "LEGACY")
endif()
if(NOT EXECUTABLE_OUTPUT_PATH)
set(FIRST_RUN TRUE)
else()
@ -1050,7 +1057,7 @@ if(WITH_GL_PROFILE_ES20)
endif()
else()
list(APPEND BLENDER_GL_LIBRARIES "${OPENGL_gl_LIBRARY}")
list(APPEND BLENDER_GL_LIBRARIES "${OPENGL_LIBRARIES}")
endif()