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