From d2035223245424317629a9b7d8ac744324791d43 Mon Sep 17 00:00:00 2001 From: Kenneth Moreland Date: Fri, 13 May 2022 16:12:33 -0400 Subject: [PATCH] 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. --- examples/demo/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/demo/CMakeLists.txt b/examples/demo/CMakeLists.txt index 71e67a6b2..4a247a340 100644 --- a/examples/demo/CMakeLists.txt +++ b/examples/demo/CMakeLists.txt @@ -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()