Fix compilation error with latest OIIO 1.7.8

There are some changes in OIIO includes so now need to do some
things differently.
This commit is contained in:
Sergey Sharybin
2016-11-29 12:40:38 +01:00
parent 1ec5edcc96
commit bd5ae46c19

View File

@@ -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()