Commit ea855589 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Remove VTK-m includes and libs from test compile

All the VTK-m include and libraries should be hidden from code outward
facing of the vtkAcceleratorsVTKm library. Besides, the VTK-m
accelerator tests are not called as a subdirectory from the
vtkAcceleratorsVTKm code, so the CMake variables specifying the include
directories and libraries are not set.

If it is later decided that code using the accelerators library also
needs to directly compile VTK-m code, it should be specified as PUBLIC
includes and libraries to the vtkAcceleratorsVTKm library.
parent 5b514bdd
include_directories(${VTKm_INCLUDE_DIRS})
vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVTKMCleanGrid.cxx
TestVTKMClip.cxx
......@@ -19,6 +17,3 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_test_cxx_executable(${vtk-module}CxxTests tests
RENDERING_FACTORY
)
# Allow vtkm_cont library to be used from tests
target_link_libraries(vtkAcceleratorsVTKmCxxTests LINK_PRIVATE ${VTKm_LIBRARIES})
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