From 853ebf2d6a0674f607be7076492847e3e73b8d11 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Thu, 18 Jun 2020 13:58:55 -0400 Subject: [PATCH] [cmake] No longer add '-Og' for debug builds --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e42c001e..14385490 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,10 +93,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # Global compiler options option(BUILD_SHARED_LIBS "Enable compilation of shared libraries" OFF) -add_compile_options( - $<$:-Og> - $<$:-ggdb3> -) +add_compile_options($<$:-ggdb3>) # Create an Interface target for compiler warnings add_library(${PROJECT_NAME}_warnings INTERFACE)