mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Fix #24
This commit is contained in:
parent
935e7a975f
commit
c4bcceb440
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -72,7 +72,7 @@ def init_env(debug=False, asan=False):
|
|||
ver = subprocess.check_output('pkg-config --modversion glew'.split()).decode('utf-8').strip()
|
||||
except Exception:
|
||||
ver = 'not found'
|
||||
major = int(re.match(r'\d+', ver))
|
||||
major = int(re.match(r'\d+', ver).group())
|
||||
if major < 2:
|
||||
raise SystemExit('glew >= 2.0.0 is required, found version: ' + ver)
|
||||
cflags.extend(pkg_config('glew', '--cflags-only-I'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue