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:
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
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue