From 44e47c975ff9373ced85d4af8e2f125a37aa8dcc Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 8 May 2024 14:16:05 -0400 Subject: [PATCH] Update to Catch2 v3 --- tests/CMakeLists.txt | 2 +- tests/main.cpp | 2 +- tests/zm_catch2.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 880a3d3db..925c78522 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -28,7 +28,7 @@ target_link_libraries(tests zm ${ZM_BIN_LIBS} bcrypt - Catch2::Catch2) + Catch2::Catch2WithMain) target_include_directories(tests PRIVATE diff --git a/tests/main.cpp b/tests/main.cpp index 1a00d1291..7c2697fc2 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -16,4 +16,4 @@ */ #define CATCH_CONFIG_MAIN -#include "catch2/catch.hpp" +#include "catch2/catch_all.hpp" diff --git a/tests/zm_catch2.h b/tests/zm_catch2.h index 5f92277ea..09a4bd7d3 100644 --- a/tests/zm_catch2.h +++ b/tests/zm_catch2.h @@ -18,7 +18,7 @@ #ifndef ZONEMINDER_TESTS_ZM_CATCH2_H_ #define ZONEMINDER_TESTS_ZM_CATCH2_H_ -#include "catch2/catch.hpp" +#include "catch2/catch_all.hpp" #include "zm_vector2.h"