forked from bartvdbraak/blender
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
cfaf92c079
commit
898c780633
@ -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
Block a user