From 6b4c911f0676b293becf964c6d15dd6e549fd0cc Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Wed, 10 Dec 2025 17:53:33 +0800 Subject: [PATCH] [Fix] (CMake): lower tests to O2 optimization --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 922ac20f..5b64c747 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()