cmake/openimageio - partially reverting #60692

We now have openimageio building when cycles builds or when it's
manually set to build.

(I reverted the _IMAGE_ in the define name because I think the closer
the cmake flags match the defines in the software the better, and there
is no reason to rename all the existent WITH_OPENIMAGEIO references in
CMakeLists.txt - which would be the alternative)
This commit is contained in:
Dalai Felinto
2013-10-12 23:56:21 +00:00
parent 2ce3bd0d67
commit 7c2fae19b4
8 changed files with 10 additions and 14 deletions

View File

@@ -174,7 +174,7 @@ if(WITH_IMAGE_OPENEXR)
add_definitions(-DWITH_OPENEXR)
endif()
if(WITH_IMAGE_OPENIMAGEIO)
if(WITH_OPENIMAGEIO)
add_definitions(-DWITH_OPENIMAGEIO)
endif()