mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-04 10:16:34 -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(ENABLE_COVERAGE)
|
||||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||||
foreach(target ricepp ricepp_test)
|
foreach(target ricepp ${RICEPP_OBJECT_TARGETS} ricepp_test)
|
||||||
target_compile_options(
|
target_compile_options(
|
||||||
${target} PRIVATE -fprofile-instr-generate -fcoverage-mapping
|
${target} PRIVATE -fprofile-instr-generate -fcoverage-mapping
|
||||||
-fno-omit-frame-pointer)
|
-fno-omit-frame-pointer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user