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