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
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