From c8079f19b56182cb07b35d1152afbb526637ae8b Mon Sep 17 00:00:00 2001 From: stevenewald Date: Mon, 23 Oct 2023 13:54:16 +0100 Subject: [PATCH] Tests build in DEBUG mode by default, unless specified otherwise --- exchange/test/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exchange/test/CMakeLists.txt b/exchange/test/CMakeLists.txt index 2ace1497..5d936c20 100644 --- a/exchange/test/CMakeLists.txt +++ b/exchange/test/CMakeLists.txt @@ -3,7 +3,9 @@ # tree and is not feasible from an install location project(NUTC24Tests LANGUAGES CXX) -# set(CMAKE_BUILD_TYPE Debug) +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Debug) +endif() # ---- Dependencies ---- find_package(GTest REQUIRED)