Skip to content

Commit

Permalink
Testing different link flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Nov 4, 2024
1 parent 40433b4 commit ede6afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ option(ATMOSPHERIC_PHYSICS_ENABLE_CODE_COVERAGE "Run code coverage tool" OFF)

if(ATMOSPHERIC_PHYSICS_ENABLE_CODE_COVERAGE)
add_compile_options(-O0 --coverage)
add_link_options(-lgcov)
add_link_options(--coverage)
endif()

set(CMAKE_BUILD_TYPE Debug)
Expand Down

0 comments on commit ede6afa

Please sign in to comment.