diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-29 14:40:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-29 14:40:38 +0300 |
commit | bd5ae46c1968526058a98bfc99abbcbb3d7de69b (patch) | |
tree | 94689399a4c9c629690e63c990485f2e546e1b9a /source | |
parent | 1ec5edcc9669f46b1f0fd29c765a326ea525e7f3 (diff) |
Fix compilation error with latest OIIO 1.7.8
There are some changes in OIIO includes so now need to do some
things differently.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/imbuf/intern/oiio/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/oiio/CMakeLists.txt b/source/blender/imbuf/intern/oiio/CMakeLists.txt index c873fa3f32d..a4fb9c5aee1 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() |