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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-14 17:27:11 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-14 17:35:10 +0300
commit66ad9ef2ce3f646ad1cf177198a47365069f742a (patch)
tree79176d8c27f6f47b6487ec8e4a66a771bdb36e59 /build_files
parent5c10c92b23cfecb4ea1134ebe33837fb760eb0c9 (diff)
Fix OpenColorIO link errors in some Linux builds.
The library can get installed in a lib/static subdirectory, so search there as well now.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/Modules/FindOpenColorIO.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/Modules/FindOpenColorIO.cmake b/build_files/cmake/Modules/FindOpenColorIO.cmake
index 1d26d6b0f86..218b5f721bc 100644
--- a/build_files/cmake/Modules/FindOpenColorIO.cmake
+++ b/build_files/cmake/Modules/FindOpenColorIO.cmake
@@ -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}")