mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
Add a build time check for glew >= 2.0.0
This commit is contained in:
parent
fb19c81245
commit
e8bbf3fe4f
2
setup.py
2
setup.py
@ -66,6 +66,8 @@ def init_env(debug=False, asan=False):
|
||||
ldflags += shlex.split(os.environ.get('LDFLAGS', ''))
|
||||
|
||||
cflags.append('-pthread')
|
||||
if subprocess.Popen('pkg-config --atleast-version=2 glew'.split()).wait() != 0:
|
||||
raise SystemExit('glew >= 2.0.0 is required')
|
||||
cflags.extend(pkg_config('glew', '--cflags-only-I'))
|
||||
cflags.extend(pkg_config('freetype2', '--cflags-only-I'))
|
||||
cflags.extend(pkg_config('glfw3', '--cflags-only-I'))
|
||||
|
Loading…
Reference in New Issue
Block a user