Files
guru/dev-cpp/cpptrace/files/cpptrace-fix-tests.patch
David Roman 8902205cc7 dev-cpp/cpptrace: add 0.6.2
Signed-off-by: David Roman <davidroman96@gmail.com>
2024-07-01 14:38:20 +02:00

13 lines
650 B
Diff

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} $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-pedantic -Wno-attributes>)
+ target_compile_options(unittest PRIVATE ${warning_options} $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-pedantic -Wno-attributes -ggdb>)
add_test(NAME unittest COMMAND unittest)
endif()