From 5271c26ffd18c0df0641f5de59f8cd64f413ce17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophyl=20Hoguet?= Date: Thu, 10 Mar 2022 10:14:24 +0100 Subject: [PATCH] exit code 1 memcheck --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87d7c88..7cf1d30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ project ("Lightup" C) # enable testing enable_testing() +set(MEMORYCHECK_COMMAND_OPTIONS "--error-exitcode=1") include(CTest) #positionne la variable