aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGeorg Müller <georgmueller@gmx.net>2017-09-14 10:17:25 +0200
committerGeorg Müller <georgmueller@gmx.net>2017-09-14 10:17:25 +0200
commitc60c21a60d64b04096d0ab9968d1c59c3f264ae7 (patch)
tree0c390b7e586474b36d873ad0845f228f6c351104 /tools
parentc46c1e74ad930e5c0a8800e336dde4ca117c5187 (diff)
downloadmeson-c60c21a60d64b04096d0ab9968d1c59c3f264ae7.zip
meson-c60c21a60d64b04096d0ab9968d1c59c3f264ae7.tar.gz
meson-c60c21a60d64b04096d0ab9968d1c59c3f264ae7.tar.bz2
cmake2meson: convert statements to lower case
cmake does not distinguish between upper and lower case, so convert it to lower case for the later comparisons.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cmake2meson.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py
index 0789a0c..4494f4d 100755
--- a/tools/cmake2meson.py
+++ b/tools/cmake2meson.py
@@ -26,7 +26,7 @@ class Token:
class Statement:
def __init__(self, name, args):
- self.name = name
+ self.name = name.lower()
self.args = args
class Lexer: