Skip to content

Commit c45d926

Browse files
committed
test fix appveyor. Part 19
1 parent 82f2523 commit c45d926

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

appveyor.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,19 @@ install:
3030
build_script:
3131
- C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\mingw32-make --version
3232
- C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\g++ --version
33-
- ECHO %PATH%
33+
#- ECHO %PATH%
3434
- git submodule update --init --recursive
3535
- if [%tbs_tools%]==[mingw] (
3636
- SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%"
37+
38+
# Remove sh.exe from the path otherwise CMake will complain:
39+
# "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe"
40+
# and the MinGW build will not work (the Visual Studio build does not care).
3741
- SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
38-
- ECHO %PATH%
42+
)
43+
44+
- ECHO %PATH%
45+
if [%tbs_tools%]==[mingw] (
3946
- MKDIR bin
4047
- CD bin
4148
- cmake .. -G "MinGW Makefiles"

0 commit comments

Comments
 (0)