Fix introspection builds on Visual Studio 2017

Detect Visual Studio 2017 properly, so that we won't mistaken it for
2015.
This commit is contained in:
Chun-wei Fan 2017-12-06 20:44:19 +08:00
parent a52af4303a
commit 5ce6f249d7

View File

@ -40,8 +40,10 @@ VSVER = 10
VSVER = 11 VSVER = 11
!elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900 !elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900
VSVER = 12 VSVER = 12
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 2000 !elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
VSVER = 14 VSVER = 14
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 2000
VSVER = 15
!else !else
VSVER = 0 VSVER = 0
!endif !endif