diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-14 17:27:11 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-14 17:28:39 +0300 |
commit | 898c780633ad8d288b76305d6a6bc3caa1ad4050 (patch) | |
tree | 6935f78194379c21887676e708fdc0c403c77e05 /build_files | |
parent | cfaf92c0790f04e526339a1049a321f927f10118 (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.cmake | 2 |
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}") |