Commit 03b15252 authored by incardon's avatar incardon

Fixing test coverage compilation

parent 55aba292
...@@ -11,7 +11,7 @@ add_executable(vcluster_test main.cpp VCluster/VCluster.cpp ../../openfpm_devic ...@@ -11,7 +11,7 @@ add_executable(vcluster_test main.cpp VCluster/VCluster.cpp ../../openfpm_devic
if ( CMAKE_COMPILER_IS_GNUCC ) if ( CMAKE_COMPILER_IS_GNUCC )
target_compile_options(vcluster_test PRIVATE "-Wno-deprecated-declarations") target_compile_options(vcluster_test PRIVATE "-Wno-deprecated-declarations")
if (TEST_COVERAGE) if (TEST_COVERAGE)
target_compile_options(mem PRIVATE $<$<COMPILE_LANGUAGE:CXX>: -fprofile-arcs -ftest-coverage>) target_compile_options(vcluster_test PRIVATE $<$<COMPILE_LANGUAGE:CXX>: -fprofile-arcs -ftest-coverage>)
endif() endif()
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment