Skip to content

Commit c3c74ba

Browse files
committed
correct bug for Code_coverage Report
1 parent d3044f3 commit c3c74ba

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ if (NOT MSVC)
1414
--coverage #set coverage flag
1515
-fprofile-arcs
1616
-ftest-coverage
17+
-fprofile-update=atomic
1718
-fPIC
1819
)
1920
link_libraries(
2021
"gcov"
2122
"-fprofile-arcs"
23+
"-fprofile-update=atomic"
2224
"--coverage"
2325
)
2426

0 commit comments

Comments
 (0)