Fix T86928: OSL script compilation failed

Tell `FindOSL.cmake` where to find the shader header files. These have
moved from `${LIBDIR}/osl/shaders` to `${LIBDIR}/osl/share/OSL/shaders`
when OSL was upgraded (T85365).
This commit is contained in:
Sybren A. Stüvel 2021-04-09 13:41:25 +02:00
parent 7ab8a3838c
commit a631a9eb1f
Notes: blender-bot 2024-04-11 14:26:06 +02:00
Referenced by issue #88323, OSL, Windows, external scripts are not compiled anymore
Referenced by issue #87279, External OSL scripts are not compiled anymore
Referenced by issue #87124, Blender crashes when rendering with cycles in the viewport with OSL enabled
Referenced by issue #86928, Error: OSL script compilation failed
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ FIND_PATH(OSL_SHADER_DIR
/usr/share/OSL/
/usr/include/OSL/
PATH_SUFFIXES
shaders
share/OSL/shaders
)
# handle the QUIETLY and REQUIRED arguments and set OSL_FOUND to TRUE if