diff --git a/cmake/unit_tests.cmake b/cmake/unit_tests.cmake index 43b9598..00870d9 100644 --- a/cmake/unit_tests.cmake +++ b/cmake/unit_tests.cmake @@ -1,5 +1,6 @@ if(NOT WITHOUT_TESTS AND NOT WITHOUT_ADAPTER AND NOT WITHOUT_PROVIDER) +set(MEMORYCHECK_COMMAND_OPTIONS "--leak-check=full --error-exitcode=1") include (CTest) pkg_check_modules(GTEST gtest_main)