summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2021-11-15 15:00:51 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2021-11-15 15:00:51 +0800
commit117ec1504b57a535f93888646453b4ead9c676dd (patch)
tree3bef40ad37f89996fe12a209474cfabd2d7b46f3 /win32
parent52c34cbbe2c1f037d3f918e3a9a3d18e7610c8b7 (diff)
downloadadwaita-icon-theme-117ec1504b57a535f93888646453b4ead9c676dd.tar.gz
build: Support Visual Studio 2022
Make these builds distinct from Visual Studio 2019 builds.
Diffstat (limited to 'win32')
-rw-r--r--win32/detectenv-msvc.mak6
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/detectenv-msvc.mak b/win32/detectenv-msvc.mak
index 29b73d88b..4c2595410 100644
--- a/win32/detectenv-msvc.mak
+++ b/win32/detectenv-msvc.mak
@@ -46,8 +46,10 @@ VSVER = 12
VSVER = 14
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
VSVER = 15
-!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
+!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 1930
VSVER = 16
+!elseif $(VCVERSION) > 1929 && $(VCVERSION) < 2000
+VSVER = 17
!else
VSVER = 0
!endif
@@ -55,7 +57,7 @@ VSVER = 0
!if "$(VSVER)" == "0"
MSG = ^
This NMake Makefile set supports Visual Studio^
-9 (2008) through 16 (2019). Your Visual Studio^
+9 (2008) through 17 (2022). Your Visual Studio^
version is not supported.
!error $(MSG)
!endif