diff options
author | Gon Solo <gonsolo> | 2022-11-08 21:31:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-11-08 21:40:57 +0300 |
commit | c306ccb67fcf44d9bca3c4ed0f20d1af1df29f26 (patch) | |
tree | 26f6dbf70e7e919208c75f1a07770b51b5d939d8 /intern/cycles/device/hip/util.cpp | |
parent | 5925b1821a5706d59d1504ab3b426ce5df6aff52 (diff) |
Fix Cycles error with runtime compilation when there is no path to OptiX SDK
If no OPTIX_ROOT is set, nvcc fails to compile because there is a stray "-I"
in the arguments. Detect if the include path is empty and act accordingly.
Differential Revision: https://developer.blender.org/D16308
Diffstat (limited to 'intern/cycles/device/hip/util.cpp')
0 files changed, 0 insertions, 0 deletions