summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CTest/cmCTestCoverageCommand.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx
index 72e42ff..5a36e6b 100644
--- a/Source/CTest/cmCTestCoverageCommand.cxx
+++ b/Source/CTest/cmCTestCoverageCommand.cxx
@@ -71,6 +71,9 @@ bool cmCTestCoverageCommand::InitialPass(
m_CTest->SetCTestConfiguration("BuildDirectory", build_dir);
}
+ m_CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile,
+ "CoverageCommand", "CTEST_COVERAGE_COMMAND");
+
cmCTestGenericHandler* handler = m_CTest->GetHandler("coverage");
if ( !handler )
{