Fix OpenColorIO link errors in some Linux builds.

The library can get installed in a lib/static subdirectory, so search there
as well now.
This commit is contained in:
Brecht Van Lommel 2018-09-14 16:27:11 +02:00
parent 5c10c92b23
commit 66ad9ef2ce
Notes: blender-bot 2023-02-13 21:56:28 +01:00
Referenced by issue #78454, Cycles random walk subsurface scattering produces anisotropic artifacts if subsurface radius is small compared to geometry's distance from origin
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ FOREACH(COMPONENT ${_opencolorio_FIND_COMPONENTS})
HINTS
${_opencolorio_SEARCH_DIRS}
PATH_SUFFIXES
lib64 lib
lib64 lib lib64/static lib/static
)
IF(OPENCOLORIO_${UPPERCOMPONENT}_LIBRARY)
LIST(APPEND _opencolorio_LIBRARIES "${OPENCOLORIO_${UPPERCOMPONENT}_LIBRARY}")