From 4514ba1f66c682afbe4fd66565f391f209932e17 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 29 Oct 2024 16:12:38 +0100 Subject: [PATCH] only add Catch2 conditionally --- contrib/fsfw_contrib/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/fsfw_contrib/CMakeLists.txt b/contrib/fsfw_contrib/CMakeLists.txt index cd950981..a987f2df 100644 --- a/contrib/fsfw_contrib/CMakeLists.txt +++ b/contrib/fsfw_contrib/CMakeLists.txt @@ -11,4 +11,6 @@ if(FSFW_ADD_SGP4_PROPAGATOR) endif() add_subdirectory(etl-20.39.4) -add_subdirectory(Catch2-3.7.1) +if(FSFW_BUILD_TESTS) + add_subdirectory(Catch2-3.7.1) +endif() \ No newline at end of file