diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-06-07 19:59:33 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-06-08 00:16:27 +0200 |
commit | 768e9252714b57421b5c893a8258469a14630a30 (patch) | |
tree | ab2299c7533af5dc207b2c43d14a3c242cd0974b /platform/x11/detect.py | |
parent | 4c658dc52303ece088a245ede2835a68b78530b2 (diff) | |
download | redot-engine-768e9252714b57421b5c893a8258469a14630a30.tar.gz |
GLEW: Define static + enabled and includes via SCons
This allows us not to have to hack our definitions in the upstream files,
making it easier to upgrade to newer versions in the future.
For the include paths to work, the headers are moved to a GL subfolder to
match their upstream location.
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 5a43bf9323..2561e09b9a 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -65,6 +65,7 @@ def get_flags(): return [ ('builtin_zlib', 'no'), + ('glew', 'yes'), ("openssl", "yes"), #("theora","no"), ] @@ -147,7 +148,7 @@ def configure(env): env.Append(CPPPATH=['#drivers/freetype/freetype/include']) - env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED']) + env.Append(CPPFLAGS=['-DOPENGL_ENABLED']) if os.system("pkg-config --exists alsa")==0: print("Enabling ALSA") |