From 8450ccd3c576d9c707e51ec920787ae249f2aae0 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Tue, 6 Feb 2018 23:38:15 -0600 Subject: [PATCH] Unit-testing builds now define TESTING --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index dae0332..851cc0c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -4,7 +4,7 @@ project(erc-test) set(CMAKE_BUILD_TYPE Debug) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHEADLESS") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHEADLESS -DTESTING") if(DEFINED ENV{STATIC_ANALYSIS}) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --analyze")