From 3e7902f7d790a486d3d9cb978df193f07f3a6ad9 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sun, 29 Jun 2025 20:29:50 +0100 Subject: finish macOS support --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e8b131..cf42b4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,11 @@ add_compile_options(-Wextra) add_compile_options(-Werror) add_compile_options(-Wpedantic) +if(NIHIL_TESTS) + add_subdirectory(contrib/catch2) + enable_testing() +endif() + add_subdirectory(nihil.cli) add_subdirectory(nihil.core) add_subdirectory(nihil.error) @@ -60,7 +65,3 @@ endif() if(NIHIL_CONFIG) add_subdirectory(nihil.config) endif() - -if(NIHIL_TESTS) - enable_testing() -endif() -- cgit v1.2.3