[Bf-blender-cvs] [76d69bbb086] master: Fix Cycles compilation with Optix on Windows.

Thomas Dinges noreply at git.blender.org
Mon Jan 10 13:42:22 CET 2022


Commit: 76d69bbb0864269afb14b88fb4d6145331b4e4ac
Author: Thomas Dinges
Date:   Mon Jan 10 13:39:53 2022 +0100
Branches: master
https://developer.blender.org/rB76d69bbb0864269afb14b88fb4d6145331b4e4ac

Fix Cycles compilation with Optix on Windows.

Since Optix 7.3 is required, update the default path accordingly.

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

M	build_files/cmake/Modules/FindOptiX.cmake

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

diff --git a/build_files/cmake/Modules/FindOptiX.cmake b/build_files/cmake/Modules/FindOptiX.cmake
index 67106740f57..c4a9e9f0181 100644
--- a/build_files/cmake/Modules/FindOptiX.cmake
+++ b/build_files/cmake/Modules/FindOptiX.cmake
@@ -21,7 +21,7 @@ ENDIF()
 
 SET(_optix_SEARCH_DIRS
   ${OPTIX_ROOT_DIR}
-  "$ENV{PROGRAMDATA}/NVIDIA Corporation/OptiX SDK 7.0.0"
+  "$ENV{PROGRAMDATA}/NVIDIA Corporation/OptiX SDK 7.3.0"
 )
 
 FIND_PATH(OPTIX_INCLUDE_DIR



More information about the Bf-blender-cvs mailing list