Fix code coverage error (#5765)

* Fix the issue where COVERAGE_CXX_COMPILER_FLAGS is never used
This commit is contained in:
Jingchen
2025-09-12 16:13:27 +01:00
committed by GitHub
parent f69ad4eff6
commit 9bd1ce436a
3 changed files with 61 additions and 57 deletions

View File

@@ -36,3 +36,5 @@ setup_target_for_coverage_gcovr(
EXCLUDE "src/test" "include/xrpl/beast/test" "include/xrpl/beast/unit_test" "${CMAKE_BINARY_DIR}/pb-xrpl.libpb"
DEPENDENCIES rippled
)
add_code_coverage_to_target(opts INTERFACE)