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.
pull/2319/head
Georg Müller 8 years ago
parent 567b51ac71
commit 4cbca49976
  1. 2
      tools/cmake2meson.py

@ -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:

Loading…
Cancel
Save