diff --git a/appveyor.yml b/appveyor.yml index 5c5c8898219..bec46dbfee3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,12 +32,14 @@ build_script: - C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\g++ --version #- ECHO %PATH% - git submodule update --init --recursive -- if [%tbs_tools%]==[mingw] ( - - SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%" +# Add mingw-w64 to PATH # Remove sh.exe from the path otherwise CMake will complain: # "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe" # and the MinGW build will not work (the Visual Studio build does not care). + +- if [%tbs_tools%]==[mingw] ( + - SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%" - SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%" )