Skip to content

Commit af512d3

Browse files
committed
test fix appveyor. Part 27
1 parent 986ffc8 commit af512d3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

appveyor.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,21 @@ build_script:
2727
#- ECHO %PATH%
2828
- git submodule update --init --recursive
2929

30-
# Add mingw-w64 to PATH
3130
# Remove sh.exe from the path otherwise CMake will complain:
3231
# "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe"
3332
# and the MinGW build will not work (the Visual Studio build does not care).
33+
- SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
3434

35+
# Add mingw-w64 to PATH
3536
- if [%tbs_tools%]==[mingw] (
36-
SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%" &&
37-
SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
37+
SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%"
3838
)
3939
- ECHO %PATH%
4040
- if [%tbs_tools%]==[mingw] (
4141
MKDIR bin &&
4242
CD bin &&
43-
cmake .. -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G "MinGW Makefiles" &&
43+
# cmake .. -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G "MinGW Makefiles" &&
44+
cmake .. -G "MinGW Makefiles" &&
4445
mingw32-make
4546
)
4647
- if [%tbs_tools%]==[msvcDISABLE] (

0 commit comments

Comments
 (0)