Fix T100845: wrong Cycles OptiX runtime compilation include path

Causing OptiX kernel build errors on Arch Linux.

Differential Revision: https://developer.blender.org/D15891
This commit is contained in:
Josh Whelchel
2022-09-06 15:39:39 +02:00
committed by Brecht Van Lommel
parent e1fbb4ce89
commit 74477149dd

View File

@@ -364,7 +364,7 @@ string OptiXDevice::compile_kernel_get_common_cflags(const uint kernel_features)
string common_cflags = CUDADevice::compile_kernel_get_common_cflags(kernel_features);
/* Add OptiX SDK include directory to include paths. */
common_cflags += string_printf(" -I\"%s/include\"", get_optix_include_dir().c_str());
common_cflags += string_printf(" -I\"%s\"", get_optix_include_dir().c_str());
/* Specialization for shader raytracing. */
if (kernel_features & KERNEL_FEATURE_NODE_RAYTRACE) {