[Bf-blender-cvs] [afbc727da25] master: Cycles: Fix missing dependencies in libcycles_device

Imre Palik noreply at git.blender.org
Mon Aug 24 11:51:14 CEST 2020


Commit: afbc727da2514e41406d023dede23ccace422672
Author: Imre Palik
Date:   Mon Aug 24 11:45:47 2020 +0200
Branches: master
https://developer.blender.org/rBafbc727da2514e41406d023dede23ccace422672

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

===================================================================

M	intern/cycles/device/CMakeLists.txt

===================================================================

diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt
index ca366722eb7..466872e0557 100644
--- a/intern/cycles/device/CMakeLists.txt
+++ b/intern/cycles/device/CMakeLists.txt
@@ -67,6 +67,7 @@ set(LIB
   cycles_render
   cycles_kernel
   cycles_util
+  ${BLENDER_GL_LIBRARIES}
 )
 
 if(WITH_CUDA_DYNLOAD)



More information about the Bf-blender-cvs mailing list