diff --git a/authors.txt b/authors.txt index 505e35e6f..a51badd67 100644 --- a/authors.txt +++ b/authors.txt @@ -49,3 +49,4 @@ Franz Zapata Emanuele Aina Guillaume Poirier-Morency Scott D Phillips +Gautier Pelloux-Prayer diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py index 7465d4513..a99ea50be 100755 --- a/tools/cmake2meson.py +++ b/tools/cmake2meson.py @@ -279,15 +279,15 @@ class Converter: defaultstr = '' else: if default == 'OFF': - typestr = ' type : boolean,' + typestr = ' type : \'boolean\',' default = 'false' elif default == 'ON': default = 'true' - typestr = ' type : boolean,' + typestr = ' type : \'boolean\',' else: - typestr = ' type : string,' + typestr = ' type : \'string\',' defaultstr = ' value : %s,' % default - line = "option(%s,%s%s description : '%s')\n" % (optname, + line = "option(%r,%s%s description : '%s')\n" % (optname, typestr, defaultstr, description)