aboutsummaryrefslogtreecommitdiff
path: root/cmake/module/ProcessConfigurations.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/module/ProcessConfigurations.cmake')
-rw-r--r--cmake/module/ProcessConfigurations.cmake4
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)