mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	fix clang-format target when using a path with spaces on windows
This commit is contained in:
		
							parent
							
								
									daeba65fb4
								
							
						
					
					
						commit
						7842decde6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -336,7 +336,7 @@ if (CLANG_FORMAT) | ||||||
|     set(CCOMMENT "Running clang format against all the .h and .cpp files in src/") |     set(CCOMMENT "Running clang format against all the .h and .cpp files in src/") | ||||||
|     if (WIN32) |     if (WIN32) | ||||||
|         add_custom_target(clang-format |         add_custom_target(clang-format | ||||||
|             COMMAND powershell.exe -Command "Get-ChildItem ${SRCS}/* -Include *.cpp,*.h -Recurse | Foreach {${CLANG_FORMAT} -i $_.fullname}" |             COMMAND powershell.exe -Command "Get-ChildItem '${SRCS}/*' -Include *.cpp,*.h -Recurse | Foreach {&'${CLANG_FORMAT}' -i $_.fullname}" | ||||||
|             COMMENT ${CCOMMENT}) |             COMMENT ${CCOMMENT}) | ||||||
|     elseif(MINGW) |     elseif(MINGW) | ||||||
|         add_custom_target(clang-format |         add_custom_target(clang-format | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue