From 50015a34aec1f08e4d8a41518d8816da08f921bb Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 23 Jan 2024 16:34:43 +0900 Subject: [PATCH] Change debug optimization flag --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1bd6eb..3980465 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,13 +40,13 @@ target_compile_options(TrianglesLib PRIVATE -Wall -Wextra -Wpedantic -Wsuggest-override $<$:-Weffc++> - $<$:-O0> + $<$:-Og> ) target_compile_options(Triangles PRIVATE -Wall -Wextra -Wpedantic -Wsuggest-override $<$:-Weffc++> - $<$:-O0> + $<$:-Og> ) target_link_libraries(Triangles PUBLIC TrianglesLib)