[Bf-blender-cvs] [7647d08b025] tmp_lib_update_32: deps: fix OCIO build on windows

Ray Molenkamp noreply at git.blender.org
Thu Feb 17 17:10:51 CET 2022


Commit: 7647d08b025a08e2652fcde742c24cc17fb05457
Author: Ray Molenkamp
Date:   Thu Feb 17 09:10:43 2022 -0700
Branches: tmp_lib_update_32
https://developer.blender.org/rB7647d08b025a08e2652fcde742c24cc17fb05457

deps: fix OCIO build on windows

===================================================================

M	build_files/build_environment/cmake/opencolorio.cmake

===================================================================

diff --git a/build_files/build_environment/cmake/opencolorio.cmake b/build_files/build_environment/cmake/opencolorio.cmake
index 64504e5be14..2246031be83 100644
--- a/build_files/build_environment/cmake/opencolorio.cmake
+++ b/build_files/build_environment/cmake/opencolorio.cmake
@@ -31,6 +31,7 @@ if(WIN32)
     ${OPENCOLORIO_EXTRA_ARGS}
     -Dexpat_LIBRARY=${LIBDIR}/expat/lib/libexpatMD
     -Dyaml-cpp_LIBRARY=${LIBDIR}/expat/lib/libyaml-cppmd.lib
+    -DImath_LIBRARY=${LIBDIR}/imath/lib/imath${OPENEXR_VERSION_POSTFIX}
   )
 else()
   set(OPENCOLORIO_EXTRA_ARGS



More information about the Bf-blender-cvs mailing list