From c9ac3f56ed261d54db499a7f4dcdccc639700bdf Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 8 Oct 2019 16:18:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=BF?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMLibCodeCoverage.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMLibCodeCoverage.cmake b/CMLibCodeCoverage.cmake index 54abfdd..b3b55a3 100644 --- a/CMLibCodeCoverage.cmake +++ b/CMLibCodeCoverage.cmake @@ -3,7 +3,7 @@ function(add_code_coverage) find_program(LCOV_EXE NAMES lcov) find_program(GENHTML_EXE NAMES genhtml) - target_compile_options(_target PUBLIC "--coverage") + target_compile_options(${_target} PUBLIC "--coverage") if(LCOV_EXE) add_custom_target(coverage-${_target}