diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 86d7887f..6d6f7716 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -248,4 +248,5 @@ endif() if (${TEST_LCOV}) target_compile_options(${PROJECT_NAME} PUBLIC -fprofile-arcs -ftest-coverage -fprofile-update=atomic) + target_link_options(${PROJECT_NAME} PUBLIC -fprofile-arcs) endif()