Working on Github Actions

This commit is contained in:
Daniel Chappuis 2021-08-08 16:28:32 +02:00
parent c45afdf5da
commit 66fdca414f

View File

@ -34,9 +34,7 @@ option(RP3D_DOUBLE_PRECISION_ENABLED "Select this if you want to compile using d
# Code Coverage
if(RP3D_CODE_COVERAGE_ENABLED)
INCLUDE(CodeCoverage)
SETUP_TARGET_FOR_COVERAGE_LCOV(
NAME coverage
EXECUTABLE test/tests)
SETUP_TARGET_FOR_COVERAGE_LCOV(NAME coverage EXECUTABLE test/tests)
APPEND_COVERAGE_COMPILER_FLAGS()
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage")
endif()