[Fix] (CMake): lower tests to O2 optimization

This commit is contained in:
2025-12-10 17:53:33 +08:00
parent eb705c53bf
commit 6b4c911f06
+1 -1
View File
@@ -17,7 +17,7 @@ if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR MOBILEGL_FORCE_RELEASE_OPT)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
add_compile_options(/O2 /GL)
else ()
add_compile_options(-O3)
add_compile_options(-O2)
endif()
endif()