From 3adf9ec33ba1e5b6516dfb31f943da67926e86c7 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 21 Apr 2021 21:58:50 +0200 Subject: CMakeLists.txt: Drop duplicate status messages --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6cc77f..b039352 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,10 +46,7 @@ endif() add_subdirectory(src) add_subdirectory(data) -if (NOT ENABLE_TESTS) - message(STATUS "Unit tests disabled") -else() - message(STATUS "Unit tests enabled") +if (ENABLE_TESTS) include(CTest) enable_testing() add_subdirectory(example) -- cgit v1.2.3