summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-06-26 17:03:37 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2019-07-01 23:44:16 +0800
commit5dcff598a8ba2c933970b700392bb5202bb10e35 (patch)
tree22c6848ab7e3d2a5ee3c5ee85d78fad002e55ce0
parent82f9f050f491827f0ad1789828728b115b96bbb5 (diff)
downloadlibrsvg-5dcff598a8ba2c933970b700392bb5202bb10e35.tar.gz
win32/detectenv-msvc.mak: Detect Visual Studio 2019
We want to ensure that we can build with Visual Studio 2019 properly.
-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 6fd96ccc..787a8974 100644
--- a/win32/detectenv-msvc.mak
+++ b/win32/detectenv-msvc.mak
@@ -42,8 +42,10 @@ VSVER = 11
VSVER = 12
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
VSVER = 14
-!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 2000
+!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
VSVER = 15
+!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
+VSVER = 16
!else
VSVER = 0
!endif
@@ -51,7 +53,7 @@ VSVER = 0
!if "$(VSVER)" == "0"
MSG = ^
This NMake Makefile set supports Visual Studio^
-9 (2008) through 14 (2015). Your Visual Studio^
+9 (2008) through 16 (2019). Your Visual Studio^
version is not supported.
!error $(MSG)
!endif