summaryrefslogtreecommitdiff
path: root/dev-cpp/cpptrace/files/cpptrace-fix-tests.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-01 17:43:57 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-01 17:43:57 +0000
commit92f138c6c660a6a68a843c8c394a93999455bee7 (patch)
treebc5f2b61024cea20c7bbed714634b64b4c8c3955 /dev-cpp/cpptrace/files/cpptrace-fix-tests.patch
parent2f038d1a0bc791d17fb3e5fe366be075a7f68aac (diff)
downloadbaldeagleos-repo-92f138c6c660a6a68a843c8c394a93999455bee7.tar.gz
baldeagleos-repo-92f138c6c660a6a68a843c8c394a93999455bee7.tar.xz
baldeagleos-repo-92f138c6c660a6a68a843c8c394a93999455bee7.zip
Adding metadata
Diffstat (limited to 'dev-cpp/cpptrace/files/cpptrace-fix-tests.patch')
-rw-r--r--dev-cpp/cpptrace/files/cpptrace-fix-tests.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-cpp/cpptrace/files/cpptrace-fix-tests.patch b/dev-cpp/cpptrace/files/cpptrace-fix-tests.patch
new file mode 100644
index 000000000000..e9dd0c8cd03a
--- /dev/null
+++ b/dev-cpp/cpptrace/files/cpptrace-fix-tests.patch
@@ -0,0 +1,12 @@
+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()