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:35:10 +0300 |
commit | 66ad9ef2ce3f646ad1cf177198a47365069f742a (patch) | |
tree | 79176d8c27f6f47b6487ec8e4a66a771bdb36e59 /build_files/cmake/Modules/FindOpenColorIO.cmake | |
parent | 5c10c92b23cfecb4ea1134ebe33837fb760eb0c9 (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/cmake/Modules/FindOpenColorIO.cmake')
-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}") |