message: Fix code coverage generation
diff: @@ -9,7 +9,6 @@ if (WITH_GUDHI_BOOST_TEST_COVERAGE)
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg")
  endif()
  set(GUDHI_UT_LOG_FORMAT "--log_format=XML")
  - set(GUDHI_UT_LOG_SINK "--log_sink=${CMAKE_BINARY_DIR}/${unitary_test}_UT.xml")
  set(GUDHI_UT_LOG_LEVEL "--log_level=test_suite")
  set(GUDHI_UT_REPORT_LEVEL "--report_level=no")
  else (WITH_GUDHI_BOOST_TEST_COVERAGE)
  @@ -19,6 +18,10 @@ else (WITH_GUDHI_BOOST_TEST_COVERAGE)
  endif(WITH_GUDHI_BOOST_TEST_COVERAGE)
  function(gudhi_add_boost_test unitary_test)
  + if (WITH_GUDHI_BOOST_TEST_COVERAGE)
  + set(GUDHI_UT_LOG_SINK "--log_sink=${CMAKE_BINARY_DIR}/${unitary_test}_UT.xml")
  + endif(WITH_GUDHI_BOOST_TEST_COVERAGE)
  +
  target_link_libraries(${unitary_test} Boost::unit_test_framework)
  add_test(NAME ${unitary_test} COMMAND $<TARGET_FILE:${unitary_test}>
  ${GUDHI_UT_LOG_FORMAT} ${GUDHI_UT_LOG_SINK}
  