aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-12-30 23:22:01 +0200
committerGitHub <noreply@github.com>2017-12-30 23:22:01 +0200
commita9c57e17a9389eb057e2857eb21c430d67d43e09 (patch)
tree04b31267a3d083e073ec28e85fc398eaee472be4 /mesonbuild/mesonmain.py
parent4f32d11e1b975cd37050995c1ec89ebb94a24eaa (diff)
parent2fc3fc8d672e83d67ec7372ad3eccc8717eb7124 (diff)
downloadmeson-a9c57e17a9389eb057e2857eb21c430d67d43e09.zip
meson-a9c57e17a9389eb057e2857eb21c430d67d43e09.tar.gz
meson-a9c57e17a9389eb057e2857eb21c430d67d43e09.tar.bz2
Merge pull request #2849 from polarina/vsregenfix
Fix Visual Studio version detection for the `vs` backend
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r--mesonbuild/mesonmain.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index f811def..20ec304 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -172,6 +172,7 @@ class MesonApp:
elif self.options.backend == 'vs':
from .backend import vs2010backend
g = vs2010backend.autodetect_vs_version(b)
+ env.coredata.set_builtin_option('backend', g.name)
mlog.log('Auto detected Visual Studio backend:', mlog.bold(g.name))
elif self.options.backend == 'vs2010':
from .backend import vs2010backend