mirror of https://github.com/kivy/kivy.git
Define GLEW_BUILD on windows.
This commit is contained in:
parent
77232ebd47
commit
a8bea76a89
2
setup.py
2
setup.py
|
@ -238,6 +238,8 @@ class KivyBuildExt(build_ext):
|
|||
config_py += '{0} = {1}\n'.format(opt, value)
|
||||
debug = bool(self.debug)
|
||||
print(' * debug = {0}'.format(debug))
|
||||
config_h += \
|
||||
'#if __USE_GLEW && defined(_WIN32)\n# define GLEW_BUILD\n#endif'
|
||||
|
||||
config_pxi += 'DEF DEBUG = {0}\n'.format(debug)
|
||||
config_py += 'DEBUG = {0}\n'.format(debug)
|
||||
|
|
Loading…
Reference in New Issue