CMake: Match OpenColorIO 2.2

This commit is contained in:
Sandy Vujaković
2021-10-01 10:14:11 +02:00
committed by GitHub
parent 7f36ac9faf
commit 06066c279b
+3
View File
@@ -49,14 +49,17 @@ list(APPEND OCIO_INCLUDE_DIRS ${OCIO_INCLUDE_DIR})
find_library(OCIO_LIBRARY
NAMES
# libOpenColorIO.so.2.x (Linux)
libOpenColorIO.so.2.2
libOpenColorIO.so.2.1
libOpenColorIO.so.2.0
# libOpenColorIO.2.x.dylib (macOS)
OpenColorIO.2.2
OpenColorIO.2.1
OpenColorIO.2.0
# OpenColorIO_2_x.lib (Windows)
OpenColorIO_2_2
OpenColorIO_2_1
OpenColorIO_2_0