diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Blender.py | 3 | ||||
-rwxr-xr-x | tools/btools.py | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/Blender.py b/tools/Blender.py index 6ffc0b8d76d..ce5570ebd45 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -188,6 +188,9 @@ def setup_syslibs(lenv): syslibs += Split(lenv['BF_OPENGL_LIB']) if lenv['OURPLATFORM'] in ('win32-vc', 'win32-mingw','linuxcross', 'win64-vc'): syslibs += Split(lenv['BF_PTHREADS_LIB']) + if lenv['WITH_BF_LCMS']: + syslibs.append(lenv['BF_LCMS_LIB']) + syslibs += lenv['LLIBS'] diff --git a/tools/btools.py b/tools/btools.py index 2c9b564b8a1..bd646a2f3eb 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -61,6 +61,7 @@ def validate_arguments(args, bc): 'BF_FANCY', 'BF_QUIET', 'BF_X264_CONFIG', 'BF_XVIDCORE_CONFIG', + 'WITH_BF_LCMS', 'BF_LCMS_LIB', 'WITH_BF_DOCS', 'BF_NUMJOBS', ] @@ -353,6 +354,9 @@ def read_opts(cfg, args): (BoolVariable('BF_FANCY', 'Enable fancy output if true', True)), (BoolVariable('BF_QUIET', 'Enable silent output if true', True)), (BoolVariable('WITH_BF_BINRELOC', 'Enable relocatable binary (linux only)', False)), + + (BoolVariable('WITH_BF_LCMS', 'Enable color correction with lcms', False)), + ('BF_LCMS_LIB', 'LCMSlibrary', 'lcms'), ('BF_X264_CONFIG', 'configuration flags for x264', ''), ('BF_XVIDCORE_CONFIG', 'configuration flags for xvidcore', ''), |