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:
authorSybren A. Stüvel <sybren@blender.org>2021-04-09 14:41:25 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-04-09 14:48:56 +0300
commita631a9eb1f0b81b4e38e5465434ddda50079a343 (patch)
tree8e60026b4e167c35fffacb4d08b80127233a55e7 /build_files/cmake
parent7ab8a3838c841ee0452420461de612d027b92e81 (diff)
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).
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/Modules/FindOSL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/Modules/FindOSL.cmake b/build_files/cmake/Modules/FindOSL.cmake
index d184215ac9f..b21c7ad50a3 100644
--- a/build_files/cmake/Modules/FindOSL.cmake
+++ b/build_files/cmake/Modules/FindOSL.cmake
@@ -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