diff --git a/cmake/CodeCoverage.cmake b/cmake/CodeCoverage.cmake index 4d451db3..e8fcae78 100644 --- a/cmake/CodeCoverage.cmake +++ b/cmake/CodeCoverage.cmake @@ -273,7 +273,7 @@ function(setup_target_for_coverage_lcov) # Create baseline to make sure untouched files show up in the report set(LCOV_BASELINE_CMD ${LCOV_PATH} ${Coverage_LCOV_ARGS} --gcov-tool ${GCOV_PATH} -c --no-external -i -d . - --ignore-errors mismatch + --ignore-errors mismatch,unused -b ${BASEDIR} -o ${Coverage_NAME}.base ) # Run tests