CmakeLists for building tutorial examples

This commit is contained in:
Tushar Athawale 2022-01-11 12:07:04 -05:00
parent 755a0ab9cc
commit f160062457
2 changed files with 16 additions and 1 deletions

@ -408,4 +408,4 @@ endif()
add_subdirectory(examples)
# Tutorial examples
add_subdirectory(vtkm-tutorial/tutorialExamples)
add_subdirectory(vtkm-tutorial)

@ -0,0 +1,15 @@
##============================================================================
## Copyright (c) Kitware, Inc.
## All rights reserved.
## See LICENSE.txt for details.
##
## This software is distributed WITHOUT ANY WARRANTY; without even
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
## PURPOSE. See the above copyright notice for more information.
##============================================================================
#add the directory that contains the VTK-m config file to the cmake
#path so that our examples can find VTK-m
set(CMAKE_PREFIX_PATH ${VTKm_BINARY_DIR}/${VTKm_INSTALL_CONFIG_DIR})
add_subdirectory(tutorialExamples)