From 97d60c88afd170762beeda8e620bc40b643dc1c8 Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Sun, 4 Jun 2023 11:57:05 +0200
Subject: [PATCH] Get rid of Catch2's internal warnings

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 343588f5d..ef624927a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -355,6 +355,8 @@ include_directories(${PUGS_BINARY_DIR}/src)
 # Pugs tests
 set(CATCH_MODULE_PATH "${PUGS_SOURCE_DIR}/packages/Catch2")
 add_subdirectory("${CATCH_MODULE_PATH}")
+target_compile_options(Catch2 PRIVATE "-w")
+target_compile_options(Catch2WithMain PRIVATE "-w")
 
 add_subdirectory(tests)
 
-- 
GitLab