mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Properly unset tags variable.
This commit is contained in:
		
				
					committed by
					
						
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							e21c6aa94d
						
					
				
				
					commit
					76790604f5
				
			@@ -143,6 +143,9 @@ function(ParseFile SourceFile TestTarget)
 | 
				
			|||||||
            endif()
 | 
					            endif()
 | 
				
			||||||
            string(REPLACE "]" ";" Tags "${Tags}")
 | 
					            string(REPLACE "]" ";" Tags "${Tags}")
 | 
				
			||||||
            string(REPLACE "[" "" Tags "${Tags}")
 | 
					            string(REPLACE "[" "" Tags "${Tags}")
 | 
				
			||||||
 | 
					        else()
 | 
				
			||||||
 | 
					          # unset tags variable from previous loop
 | 
				
			||||||
 | 
					          unset(Tags)
 | 
				
			||||||
        endif()
 | 
					        endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        list(APPEND Labels ${Tags})
 | 
					        list(APPEND Labels ${Tags})
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user