summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 0652414088..4fd0330b92 100644
--- a/SConstruct
+++ b/SConstruct
@@ -386,6 +386,9 @@ if selected_platform in platform_list:
if (env['etc1']=='yes'):
env.Append(CPPFLAGS=['-DETC1_ENABLED'])
+ if (True): # detect GLES3
+ env.Append( BUILDERS = { 'GLES3_GLSL' : env.Builder(action = methods.build_gles3_headers, suffix = 'glsl.h',src_suffix = '.glsl') } )
+
Export('env')
#build subdirs, the build order is dependent on link order.