From 56033e06943f44bcaaf88ce655a9b5aae8d21594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Tue, 10 Mar 2026 19:07:17 +0100 Subject: [PATCH] fix(test): proper registration --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 302b42b..5e95249 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,12 +38,15 @@ install(TARGETS mosh-me mk-moshable) ################################################################################ +include(CTest) if (BUILD_TESTING) find_package(Catch2 REQUIRED) + include(Catch) add_executable(mosh-me_test ${PROJECT_SOURCE_DIR}/test/pipeline.cpp ) target_link_libraries(mosh-me_test mosh-me-lib Catch2::Catch2WithMain) + catch_discover_tests(mosh-me_test) endif() ################################################################################