From 6a11f6d5b78c06c6601bb15c01843b8d1e6e2f98 Mon Sep 17 00:00:00 2001 From: Stefan Eilemann Date: Thu, 14 Nov 2013 16:15:56 +0100 Subject: [PATCH] lcov/travis fix --- CommonCTest.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CommonCTest.cmake b/CommonCTest.cmake index aedc617b3f..20b64090e1 100644 --- a/CommonCTest.cmake +++ b/CommonCTest.cmake @@ -22,10 +22,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG) endif() if($ENV{TRAVIS}) message(STATUS "Disable code coverage on Travis, causes build timeouts") - set(LCOV) - endif() - - if(LCOV AND GENHTML) + elseif(LCOV AND GENHTML) set(COVERAGE ON) add_custom_target(lcov-clean COMMAND ${LCOV} -q --directory ${CMAKE_BINARY_DIR} --zerocounters