Properly unset tags variable.
This commit is contained in:
1 parent
e21c6aa94d
commit
76790604f5
1 file changed
+3
@@ -143,6 +143,9 @@ function(ParseFile SourceFile TestTarget)
|
||||
endif()
|
||||
string(REPLACE "]" ";" Tags "${Tags}")
|
||||
string(REPLACE "[" "" Tags "${Tags}")
|
||||
else()
|
||||
# unset tags variable from previous loop
|
||||
unset(Tags)
|
||||
endif()
|
||||
|
||||
list(APPEND Labels ${Tags})
|
||||
|
||||
Reference in new issue
Block a user