From b16b44e6aa4b02900484ff9c68519073d034c7bc Mon Sep 17 00:00:00 2001 From: halx99 Date: Mon, 21 Aug 2023 13:45:36 +0800 Subject: [PATCH] Fix axslcc profile check --- cmake/Modules/AXGLSLCC.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/AXGLSLCC.cmake b/cmake/Modules/AXGLSLCC.cmake index 46de635468..6304c31ffa 100644 --- a/cmake/Modules/AXGLSLCC.cmake +++ b/cmake/Modules/AXGLSLCC.cmake @@ -100,7 +100,7 @@ function (ax_target_compile_shaders target_name) set(SC_PROFILE "") if(AX_GLES_PROFILE) # version 300 es - if (AX_DISABLE_GLES2) + if (AX_GLES_PROFILE EQUAL 300) set(OUT_LANG "ESSL") set(SC_PROFILE "300") else()