Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Whelchel <soundofjw>2022-09-06 16:39:39 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-09-06 17:11:12 +0300
commit74477149dddfddeca71be6770d520f870c0b5bc9 (patch)
tree19706fb83d97201e61fca1ae6b72a244e7db279c /intern/cycles/device
parente1fbb4ce8922df20c9d6a9cce70a430e33dce5de (diff)
Fix T100845: wrong Cycles OptiX runtime compilation include path
Causing OptiX kernel build errors on Arch Linux. Differential Revision: https://developer.blender.org/D15891
Diffstat (limited to 'intern/cycles/device')
-rw-r--r--intern/cycles/device/optix/device_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/optix/device_impl.cpp b/intern/cycles/device/optix/device_impl.cpp
index 1b440ebb278..6c64e7106d5 100644
--- a/intern/cycles/device/optix/device_impl.cpp
+++ b/intern/cycles/device/optix/device_impl.cpp
@@ -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) {