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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user