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