mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Remove extra target information from demo example
Through hard work, the simple demo example no longer needs to be compiled with a device compiler, and thus it is no longer necessary to add the special CMake for it. In fact, adding such information can be problematic in some cases.
This commit is contained in:
parent
746d1efa4f
commit
d203522324
@ -16,7 +16,4 @@ find_package(VTKm REQUIRED QUIET)
|
||||
if(TARGET vtkm_rendering)
|
||||
add_executable(Demo Demo.cxx)
|
||||
target_link_libraries(Demo PRIVATE vtkm_filter vtkm_rendering vtkm_source)
|
||||
vtkm_add_target_information(Demo
|
||||
DROP_UNUSED_SYMBOLS MODIFY_CUDA_FLAGS
|
||||
DEVICE_SOURCES Demo.cxx)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user