|  | @@ -106,6 +106,11 @@ install:
 | 
	
		
			
				|  |  |    
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  before_build:
 | 
	
		
			
				|  |  | +  # 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).
 | 
	
		
			
				|  |  | +  # See http://help.appveyor.com/discussions/problems/3193-cmake-building-for-mingw-issue-with-git-shexe
 | 
	
		
			
				|  |  | +  - set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
 | 
	
		
			
				|  |  |    # Set up mingw commands
 | 
	
		
			
				|  |  |    - if "%compiler_name%"=="gcc" (set "generator=MinGW Makefiles")
 | 
	
		
			
				|  |  |    - if "%compiler_name%"=="gcc" (set "build=mingw32-make -j4")
 |