summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
authorGeorge Kyriazis <george.kyriazis@intel.com>2016-11-15 18:52:39 -0600
committerTim Rowley <timothy.o.rowley@intel.com>2016-11-21 12:44:47 -0600
commit9085f1a9ccdfdfbdd470c871335edf360cf56c58 (patch)
treed5abd99568fd5af345021939766b2b803285eecc /common.py
parentbc26e8d4a7c0ebfb84723ddc5ccd2834f434dc70 (diff)
scons: Add swr compile option
To buils The SWR driver (currently optional, not compiled by default) v3: add option as opposed to target Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'common.py')
-rw-r--r--common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.py b/common.py
index fb0884e83f..704ad2e4d5 100644
--- a/common.py
+++ b/common.py
@@ -110,5 +110,6 @@ def AddOptions(opts):
opts.Add(BoolOption('texture_float',
'enable floating-point textures and renderbuffers',
'no'))
+ opts.Add(BoolOption('swr', 'Build OpenSWR', 'no'))
if host_platform == 'windows':
opts.Add('MSVC_VERSION', 'Microsoft Visual C/C++ version')