mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-03 17:56:12 -04:00
build(ricepp): fix code coverage option propagation
This commit is contained in:
parent
870691e869
commit
1b75081781
@ -194,7 +194,7 @@ if(WITH_TESTS)
|
||||
|
||||
if(ENABLE_COVERAGE)
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
foreach(target ricepp ricepp_test)
|
||||
foreach(target ricepp ${RICEPP_OBJECT_TARGETS} ricepp_test)
|
||||
target_compile_options(
|
||||
${target} PRIVATE -fprofile-instr-generate -fcoverage-mapping
|
||||
-fno-omit-frame-pointer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user