forked from bartvdbraak/blender
* Fix Scons build when OCIO is disabled.
Still fails when it's enabled though (unresolved symbols).
This commit is contained in:
parent
fedc8e1722
commit
3eba198818
@ -8,12 +8,12 @@ incs = '. ../guardedalloc ../../source/blender/blenlib'
|
||||
defs = []
|
||||
|
||||
if env['WITH_BF_OCIO']:
|
||||
incs += ' ' + env['BF_OCIO_INC']
|
||||
defs.append('WITH_OCIO')
|
||||
incs += ' ' + env['BF_OCIO_INC']
|
||||
|
||||
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
|
||||
incs += ' ' + env['BF_BOOST_INC']
|
||||
else:
|
||||
sources.remove('ocio_capi.cc')
|
||||
sources.remove('ocio_impl.cc')
|
||||
|
||||
env.BlenderLib( 'bf_intern_opencolorio', sources, Split(incs), defs, libtype=['extern','player'], priority=[10, 185])
|
||||
|
Loading…
Reference in New Issue
Block a user