diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-06-17 20:07:12 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-06-17 20:13:16 +0100 |
commit | c9be435c79e2bbc883701c5533ae0490780495be (patch) | |
tree | d2d35188abbe645b562a43b3bdf55dea39d9a931 /common.py | |
parent | d6a0fe19e8da0cb12d73977e4e3ece596a26320f (diff) | |
download | mesa-c9be435c79e2bbc883701c5533ae0490780495be.tar.gz mesa-c9be435c79e2bbc883701c5533ae0490780495be.tar.bz2 mesa-c9be435c79e2bbc883701c5533ae0490780495be.zip |
scons: Don't list MSVS_VERSION option outside windows platforms.
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common.py b/common.py index f218e6f6c67..8f13186f52a 100644 --- a/common.py +++ b/common.py @@ -91,4 +91,5 @@ def AddOptions(opts): opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes')) opts.Add(BoolOption('profile', 'DEPRECATED: profile build', 'no')) opts.Add(BoolOption('quiet', 'DEPRECATED: quiet command lines', 'yes')) - opts.Add(EnumOption('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0'))) + if host_platform == 'windows': + opts.Add(EnumOption('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0'))) |