diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1fc6c66..ec60849 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -60,6 +60,6 @@ if(NOT CPPTRACE_SKIP_UNIT) ) target_compile_features(unittest PRIVATE cxx_std_20) target_link_libraries(unittest PRIVATE ${target_name} GTest::gtest_main GTest::gmock_main) - target_compile_options(unittest PRIVATE ${warning_options} $<$>:-Wno-pedantic -Wno-attributes>) + target_compile_options(unittest PRIVATE ${warning_options} $<$>:-Wno-pedantic -Wno-attributes -ggdb>) add_test(NAME unittest COMMAND unittest) endif()