Skip to content

Commit 21d1644

Browse files
committed
Fix wrong value for MSVC_VER in GeosLibrary
1 parent b3be021 commit 21d1644

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/basemap/utils/GeosLibrary.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,9 @@ def build(self, installdir=None, njobs=1):
252252
"--",
253253
"WIN64={0}".format("YES" if win64 else "NO"),
254254
"BUILD_BATCH={0}".format("YES" if njobs > 1 else "NO"),
255-
"MSVC_VER=1400",
256255
])
256+
if sys.version_info[:2] < (3, 3):
257+
build_opts += ["MSVC_VER=1500"]
257258
else:
258259
build_env["MAKEFLAGS"] = "-j {0:d}".format(njobs)
259260
if version >= (3, 7, 0):

0 commit comments

Comments
 (0)