From 64473fbfd42fd6b7d360d0bfe2a88bc7ec26188c Mon Sep 17 00:00:00 2001
From: Florian Uhlig <f.uhlig@gsi.de>
Date: Mon, 7 Dec 2020 12:18:29 +0100
Subject: [PATCH] Fix code coverage

Don't take into account code from the directory external.
---
 CTestCustom.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CTestCustom.cmake b/CTestCustom.cmake
index 5c809ea63f..7bfd31ced4 100644
--- a/CTestCustom.cmake
+++ b/CTestCustom.cmake
@@ -86,7 +86,7 @@ Set (CTEST_CUSTOM_COVERAGE_EXCLUDE
      ".*Dict.cxx"
      ".*Fair.*"
      ".*GTest.*"
-     "external/"
+     ".*external/.*"
     )
 
 Set(CTEST_CUSTOM_ERROR_EXCEPTION
-- 
GitLab