[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender  trunk/blender/source/blender: Fix build scripts related to PSD support.
irieshinsuke at yahoo.co.jp
Sat Oct 12 05:33:54 CEST 2013
Got it, but I think the CMake variable WITH_OPENIMAGEIO is not needed.
It should be replaced with WITH_IMAGE_OPENIMAGEIO, and Cycles should
simply depend on WITH_IMAGE_OPENIMAGEIO like this:
# auto enable openimageio for cycles
# auto enable openimageio linking dependencies
13/10/12, Dalai Felinto wrote:
>> it causes unwanted behavior that the PSD support is enabled even if
> WITH_IMAGE_OPENIMAGEIO=OFF and WITH_CYCLES=ON
> This is actually the wanted behaviour. Bear with me ...
> If the average user just builds Blender, she gets Cycles, PSD, all the
> If the advanced user/developer doesn't want to build Cycles but wants PSD
> support, she does WITH_CYCLES=OFF and WITH_IMAGE_OPENIMAGEIO=ON
> If the user doesn't want anything to use OIIO, she simply does
> I believe (may be wrong) that one of main ideas of having those defines in
> the code is to speed up building (less code to build, less libraries to
> link to ...). Thus I think we should tie the defines to the library, not
> the feature.
> Dalai // mobile
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers