diff --git a/cmake/Modules/AXGLSLCC.cmake b/cmake/Modules/AXGLSLCC.cmake index 6304c31ffa..790e3998b9 100644 --- a/cmake/Modules/AXGLSLCC.cmake +++ b/cmake/Modules/AXGLSLCC.cmake @@ -104,7 +104,8 @@ function (ax_target_compile_shaders target_name) set(OUT_LANG "ESSL") set(SC_PROFILE "300") else() - set(OUT_LANG "GLSL") + # GLSL2 use glsl100 syntax es profile alka essl100 + set(OUT_LANG "ESSL") set(SC_PROFILE "100") set(SC_DEFINES "GLES2") endif()