diff --git a/CTestCustom.ctest.in b/CTestCustom.ctest.in index 3135eba30..454694b7e 100644 --- a/CTestCustom.ctest.in +++ b/CTestCustom.ctest.in @@ -22,3 +22,11 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION ) +IF(NOT "@CMAKE_GENERATOR@" MATCHES "XCode") + SET(CTEST_CUSTOM_COVERAGE_EXCLUDE + ${CTEST_CUSTOM_COVERAGE_EXCLUDE} + "XCode" + ) +ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "XCode") + +