summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2015-09-17 14:52:17 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-21 13:27:54 (GMT)
commit71c67e83bfe65f449b69b610b5be71164e5eee64 (patch)
tree84aa974d5d3f32310ff96c0b106694d3fd17e068 /Modules
parent936a95d4059ce3c57b79a1bf28dd4f2bdf26ba29 (diff)
downloadCMake-71c67e83bfe65f449b69b610b5be71164e5eee64.zip
CMake-71c67e83bfe65f449b69b610b5be71164e5eee64.tar.gz
CMake-71c67e83bfe65f449b69b610b5be71164e5eee64.tar.bz2
CTEST_CUSTOM_*: treat variables as lists
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CTestCoverageCollectGCOV.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CTestCoverageCollectGCOV.cmake b/Modules/CTestCoverageCollectGCOV.cmake
index 6c74cf3..ef3aa76 100644
--- a/Modules/CTestCoverageCollectGCOV.cmake
+++ b/Modules/CTestCoverageCollectGCOV.cmake
@@ -161,7 +161,7 @@ function(ctest_coverage_collect_gcov)
message(STATUS "Could not determine source file corresponding to: ${gcov_file}")
endif()
- foreach(exclude_entry ${CTEST_CUSTOM_COVERAGE_EXCLUDE})
+ foreach(exclude_entry IN LISTS CTEST_CUSTOM_COVERAGE_EXCLUDE)
if(source_file MATCHES "${exclude_entry}")
set(is_excluded true)