README: Updated VTK-m example for vtkm 2.0.0

This commit is contained in:
Tushar Athawale 2022-12-13 15:35:03 -05:00
parent 83e5557be7
commit dc5a50c1e0

@ -132,10 +132,10 @@ and then build. Here are some example *nix commands for the process
(individual commands may vary). (individual commands may vary).
```sh ```sh
$ tar xvzf ~/Downloads/vtk-m-v1.9.0.tar.gz $ tar xvzf ~/Downloads/vtk-m-v2.0.0.tar.gz
$ mkdir vtkm-build $ mkdir vtkm-build
$ cd vtkm-build $ cd vtkm-build
$ cmake-gui ../vtk-m-v1.9.0 $ cmake-gui ../vtk-m-v2.0.0
$ cmake --build -j . # Runs make (or other build program) $ cmake --build -j . # Runs make (or other build program)
``` ```
@ -246,9 +246,9 @@ project(VTKmDemo CXX)
#Find the VTK-m package #Find the VTK-m package
find_package(VTKm REQUIRED QUIET) find_package(VTKm REQUIRED QUIET)
if(TARGET vtkm_rendering) if(TARGET vtkm::rendering)
add_executable(Demo Demo.cxx) add_executable(Demo Demo.cxx)
target_link_libraries(Demo PRIVATE vtkm_filter vtkm_rendering vtkm_source) target_link_libraries(Demo PRIVATE vtkm::filter vtkm::rendering vtkm::source)
endif() endif()
``` ```