cmake2meson: convert varexp to lowercase

since variable names in 'set' statements are converted to lowercase, the
variable itself should be converted to lower-case too when used.
This commit is contained in:
Georg Müller 2017-09-14 10:23:54 +02:00
parent 567b51ac71
commit 4cbca49976
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class Converter:
if i.tid == 'id':
res.append("'%s'" % i.value)
elif i.tid == 'varexp':
res.append('%s' % i.value)
res.append('%s' % i.value.lower())
elif i.tid == 'string':
res.append("'%s'" % i.value)
else: