From 02973568d6f93f0830442575b1d37a7387138d5d Mon Sep 17 00:00:00 2001 From: Alaska Date: Mon, 7 Oct 2024 11:22:57 +0200 Subject: [PATCH] Cycles Build: Add OptiX 7.4 to FindOpitX.cmake This helps users building Blender on their own machine get OptiX 7.4 setup for Cycles. Pull Request: https://projects.blender.org/blender/blender/pulls/128682 --- build_files/cmake/Modules/FindOptiX.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build_files/cmake/Modules/FindOptiX.cmake b/build_files/cmake/Modules/FindOptiX.cmake index 40a59099cc9..64bd35b847d 100644 --- a/build_files/cmake/Modules/FindOptiX.cmake +++ b/build_files/cmake/Modules/FindOptiX.cmake @@ -28,7 +28,10 @@ set(_optix_SEARCH_DIRS # TODO: Which environment uses this? if(DEFINED ENV{PROGRAMDATA}) - list(APPEND _optix_SEARCH_DIRS "$ENV{PROGRAMDATA}/NVIDIA Corporation/OptiX SDK 7.3.0") + list(APPEND _optix_SEARCH_DIRS + "$ENV{PROGRAMDATA}/NVIDIA Corporation/OptiX SDK 7.4.0" + "$ENV{PROGRAMDATA}/NVIDIA Corporation/OptiX SDK 7.3.0" + ) endif() find_path(OPTIX_INCLUDE_DIR