Правка переменной
This commit is contained in:
parent
499285d23b
commit
c9ac3f56ed
@ -3,7 +3,7 @@ function(add_code_coverage)
|
|||||||
|
|
||||||
find_program(LCOV_EXE NAMES lcov)
|
find_program(LCOV_EXE NAMES lcov)
|
||||||
find_program(GENHTML_EXE NAMES genhtml)
|
find_program(GENHTML_EXE NAMES genhtml)
|
||||||
target_compile_options(_target PUBLIC "--coverage")
|
target_compile_options(${_target} PUBLIC "--coverage")
|
||||||
|
|
||||||
if(LCOV_EXE)
|
if(LCOV_EXE)
|
||||||
add_custom_target(coverage-${_target}
|
add_custom_target(coverage-${_target}
|
||||||
|
Loading…
Reference in New Issue
Block a user