diff --git a/cmake/make_coverage.sh.in b/cmake/make_coverage.sh.in
index f2e13f51026d2ebee2bde7814b8db44a144ed61b..140c4556d247fd72d64533de7c5cda83e12ff882 100755
--- a/cmake/make_coverage.sh.in
+++ b/cmake/make_coverage.sh.in
@@ -29,7 +29,7 @@ lcov --capture --directory . --output-file coverage_all.info
 
 #lcov capture also includes external stuff like glibc, boost etc.
 #only extract the reports for this project
-lcov --extract coverage_all.info "@CMAKE_SOURCE_DIR@*" -o coverage_only_source_tree.info
+lcov --extract coverage_all.info "@CMAKE_SOURCE_DIR@*" -o coverage_only_source_tree.info --ignore-errors gcov
 
 #Some parts of the source code might be excluded. Set EXCLUDE_FROM_COVERAGE to contain 
 # a list of directories to be excluded from the coverage report.