Skip to content

Commit 2c83d42

Browse files
committed
atomic flag for gcov
1 parent dcf7f0a commit 2c83d42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,8 @@ if(FAST_BUILD AND HIGHS_COVERAGE)
494494
# Enable coverage flags
495495
add_compile_options(-O0)
496496
add_compile_options(--coverage)
497+
add_compile_options(-fprofile-update=atomic)
498+
497499
add_link_options(-O0)
498500
add_link_options(--coverage) # Ensure coverage data is linked correctly
499501

0 commit comments

Comments
 (0)