mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-29 20:10:22 -04:00 
			
		
		
		
	Make git commit parse work even when tag is at the commit
This commit is contained in:
		
							parent
							
								
									7f97826c58
								
							
						
					
					
						commit
						9d452a179e
					
				| @ -70,8 +70,8 @@ if(GIT_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.git/") | ||||
|     ERROR_QUIET | ||||
|     OUTPUT_STRIP_TRAILING_WHITESPACE) | ||||
|   if(NOT res) | ||||
|         string(REGEX REPLACE "^v([0-9]+)\.([0-9]+)\.([0-9]+)-" "" git_commit ${out}) | ||||
|         set(sdrangel_VERSION_SUFFIX "-${git_commit}") | ||||
|         string(REGEX REPLACE "^v([0-9]+)\.([0-9]+)\.([0-9]+)" "" git_commit ${out}) | ||||
|         set(sdrangel_VERSION_SUFFIX "${git_commit}") | ||||
|     endif() | ||||
| endif() | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user