Commit: bd5ae46c1968526058a98bfc99abbcbb3d7de69b
Author: Sergey Sharybin
Date:   Tue Nov 29 12:40:38 2016 +0100
Branches: master
https://developer.blender.org/rBbd5ae46c1968526058a98bfc99abbcbb3d7de69b

Fix compilation error with latest OIIO 1.7.8

There are some changes in OIIO includes so now need to do some
things differently.

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

M       source/blender/imbuf/intern/oiio/CMakeLists.txt

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

diff --git a/source/blender/imbuf/intern/oiio/CMakeLists.txt 
b/source/blender/imbuf/intern/oiio/CMakeLists.txt
index c873fa3..a4fb9c5a 100644
--- a/source/blender/imbuf/intern/oiio/CMakeLists.txt
+++ b/source/blender/imbuf/intern/oiio/CMakeLists.txt
@@ -49,6 +49,11 @@ if(WITH_OPENIMAGEIO)
                ${OPENIMAGEIO_INCLUDE_DIRS}
                ${BOOST_INCLUDE_DIR}
        )
+       if(WITH_IMAGE_OPENEXR)
+               list(APPEND INC_SYS
+                       ${OPENEXR_INCLUDE_DIRS}
+               )
+       endif()
        add_definitions(-DWITH_OPENIMAGEIO)
 endif()

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to