Cycles: Fix missing dependencies in libcycles_device

The code uses OpenGL functionality, so is to be linked against
OpenGL libraries.

This makes it easier to integrate with cycles using CMake.

Differential Revision: https://developer.blender.org/D8371
This commit is contained in:
Imre Palik 2020-08-24 11:45:47 +02:00 committed by Sergey Sharybin
parent 6b1b2ded77
commit afbc727da2
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ set(LIB
cycles_render
cycles_kernel
cycles_util
${BLENDER_GL_LIBRARIES}
)
if(WITH_CUDA_DYNLOAD)