diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2024-08-30 15:32:00 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2024-09-04 16:02:19 +0100 |
commit | e7cf4a6f27d1c7fb38b212b93fe0120b8c4ef2a2 (patch) | |
tree | 99d8d7d036fbafe51011099a9a5a97f76eec26a1 /cmake | |
parent | fe2003ab1246948151bfe3dfe125395fcbc4f606 (diff) |
build: Add missed `-g` for "Coverage" build configuration
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/module/ProcessConfigurations.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/module/ProcessConfigurations.cmake b/cmake/module/ProcessConfigurations.cmake index 5286d10267..7e2fc0080e 100644 --- a/cmake/module/ProcessConfigurations.cmake +++ b/cmake/module/ProcessConfigurations.cmake @@ -163,8 +163,8 @@ else() unset(cxx_flags_debug_overridden) endif() -set(CMAKE_CXX_FLAGS_COVERAGE "-Og --coverage") -set(CMAKE_OBJCXX_FLAGS_COVERAGE "-Og --coverage") +set(CMAKE_CXX_FLAGS_COVERAGE "-g -Og --coverage") +set(CMAKE_OBJCXX_FLAGS_COVERAGE "-g -Og --coverage") set(CMAKE_EXE_LINKER_FLAGS_COVERAGE "--coverage") set(CMAKE_SHARED_LINKER_FLAGS_COVERAGE "--coverage") get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) |