Правка переменной

This commit is contained in:
Andrei Astafev 2019-10-08 16:18:08 +03:00
parent 499285d23b
commit c9ac3f56ed

View File

@ -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}