diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2022-05-23 15:33:40 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2022-05-23 15:33:40 +0200 |
commit | 5f581e82d4bf22eb0e1658f3778189931d9680aa (patch) | |
tree | e7deaa95f90af35552add39a2d6fe346865f4548 | |
parent | 94b33c924e0524452738e077aea03ba7e8b6302f (diff) |
cmake: fix debug flags
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 74aaf42..d859bbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,8 +73,8 @@ if (ENABLE_LTO) set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) endif() -set(CMAKE_C_FLAGS_DEBUG "-Og") -set(CMAKE_CXX_FLAGS_DEBUG "-Og") +set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Og") +set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Og") set(CMAKE_C_FLAGS_RELEASE "-O3") set(CMAKE_CXX_FLAGS_RELEASE "-O3") |