[Bf-blender-cvs] [5ce446f90cf] cycles_path_guiding: Cycles: enable the use of external Open PGL builds

Sebastian Herholz noreply at git.blender.org
Thu Oct 6 10:43:15 CEST 2022


Commit: 5ce446f90cffa0f65538593e65bee12d47cd2773
Author: Sebastian Herholz
Date:   Thu Oct 6 10:37:22 2022 +0200
Branches: cycles_path_guiding
https://developer.blender.org/rB5ce446f90cffa0f65538593e65bee12d47cd2773

Cycles: enable the use of external Open PGL builds

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

M	intern/cycles/cmake/external_libs.cmake

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

diff --git a/intern/cycles/cmake/external_libs.cmake b/intern/cycles/cmake/external_libs.cmake
index 9335024f2eb..9524cda54f5 100644
--- a/intern/cycles/cmake/external_libs.cmake
+++ b/intern/cycles/cmake/external_libs.cmake
@@ -274,7 +274,7 @@ endif()
 ###########################################################################
 
 if(CYCLES_STANDALONE_REPOSITORY AND WITH_CYCLES_PATH_GUIDING)
-  if(EXISTS ${_cycles_lib_dir})
+  if(NOT openpgl_DIR AND EXISTS ${_cycles_lib_dir})
     set(openpgl_DIR ${_cycles_lib_dir}/openpgl/lib/cmake/openpgl)
   endif()



More information about the Bf-blender-cvs mailing list