From bf84a1f2d434ae6c696def8d731c65292d3e49ad Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 11 Jan 2024 21:05:02 +0900 Subject: [PATCH] Update debug optimization flag --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ebdd6f..50a67cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(UDPC_SOURCES add_compile_options( -Wall -Wextra -Wpedantic -Wno-missing-braces $<$:-Weffc++> - $<$:-O0> + $<$:-Og> ) if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)