diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-25 06:40:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-25 06:40:10 +0400 |
commit | 314d460eb87ec6f383358e0dbb77e9fdf5c99f23 (patch) | |
tree | dbad3bfa62dc321298218c3de15e666ff65d7950 /extern/SConscript | |
parent | b4f235adc0a61a74b753db4704af0c02229eb856 (diff) |
options WITH_LZO and WITH_LZMA for cmake and scons (default to true) pointcache.c also needed to have checks for these defines.
Diffstat (limited to 'extern/SConscript')
-rw-r--r-- | extern/SConscript | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extern/SConscript b/extern/SConscript index 20604d87e45..af057a73927 100644 --- a/extern/SConscript +++ b/extern/SConscript @@ -22,5 +22,8 @@ if env['WITH_BF_REDCODE'] and env['BF_REDCODE_LIB'] == '': if env['OURPLATFORM'] == 'linux2': SConscript(['binreloc/SConscript']); -SConscript(['lzo/SConscript']) -SConscript(['lzma/SConscript']) +if env['WITH_BF_LZO']: + SConscript(['lzo/SConscript']) + +if env['WITH_BF_LZMA']: + SConscript(['lzma/SConscript']) |