From b782f1c4f84f0a776c686c1eec38e856ffcfe3b7 Mon Sep 17 00:00:00 2001 From: "Mr.UNIX" Date: Fri, 5 Jul 2024 18:41:18 +0100 Subject: [PATCH] Build: set optimization level to 2 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5754616..2b67739 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(SPL) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) -add_compile_options(-O3) +add_compile_options(-O2) file(GLOB_RECURSE TEST_SOURCES tests/*.cpp) file(GLOB_RECURSE SOURCES src/*.cpp)