CMakeLists.txt
changeset 1194 3948d7f5b4ff
parent 1192 706e4d246ca1
child 1199 b8ece252a201
--- a/CMakeLists.txt	Wed Mar 06 15:09:49 2019 -0500
+++ b/CMakeLists.txt	Sun Apr 07 00:19:10 2019 -0400
@@ -5,6 +5,7 @@
 OPTION(PROFILE_D3D "Build MojoShader with support for the D3D profile" ON)
 OPTION(PROFILE_BYTECODE "Build MojoShader with support for the BYTECODE profile" ON)
 OPTION(PROFILE_GLSL120 "Build MojoShader with support for the GLSL120 profile" ON)
+OPTION(PROFILE_GLSLES "Build MojoShader with support for the GLSLES profile" ON)
 OPTION(PROFILE_GLSL "Build MojoShader with support for the GLSL profile" ON)
 OPTION(PROFILE_ARB1 "Build MojoShader with support for the ARB1 profile" ON)
 OPTION(PROFILE_ARB1_NV "Build MojoShader with support for the ARB1_NV profile" ON)
@@ -108,6 +109,9 @@
 IF(NOT PROFILE_GLSL120)
     ADD_DEFINITIONS(-DSUPPORT_PROFILE_GLSL120=0)
 ENDIF(NOT PROFILE_GLSL120)
+IF(NOT PROFILE_GLSLES)
+    ADD_DEFINITIONS(-DSUPPORT_PROFILE_GLSLES=0)
+ENDIF(NOT PROFILE_GLSLES)
 IF(NOT PROFILE_GLSL)
     ADD_DEFINITIONS(-DSUPPORT_PROFILE_GLSL=0)
 ENDIF(NOT PROFILE_GLSL)