Skip to content

Commit b405c03

Browse files
authored
Force VS 2017 to be used on Windows.
1 parent 9c0e589 commit b405c03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

makefile.cargo

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ CONFIGURE_FLAGS := \
1414
ifeq (windows,$(findstring windows,$(TARGET)))
1515
WINDOWS := 1
1616
# Override any attempt to use the debug CRT when building with debug.
17-
CFLAGS += "-MD"
18-
CXXFLAGS += "-MD"
17+
CFLAGS += -MD
18+
CXXFLAGS += -MD
19+
CONFIGURE_FLAGS += --with-visual-studio-version=2017
1920
else
2021
WINDOWS :=
2122
endif

0 commit comments

Comments
 (0)