Skip to content

Commit

Permalink
Task/update vtkm tag (#110)
Browse files Browse the repository at this point in the history
* updating vtkm tag

* fixing using with cmake
  • Loading branch information
mclarsen authored Mar 31, 2018
1 parent 1d1feac commit 9f32171
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cmake/thirdparty/SetupVTKm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ endif()
MESSAGE(STATUS "Looking for VTKm using VTKM_DIR = ${VTKM_DIR}")

# use VTKM_DIR to setup the options that cmake's find VTKm needs
set(VTKm_DIR ${VTKM_DIR}/lib/cmake/vtkm-1.1)
set(VTKm_DIR ${VTKM_DIR}/lib/cmake/vtkm-1.2)

#
# VTKm will find TBB via the env var "TBB_ROOT"
Expand Down
4 changes: 2 additions & 2 deletions src/examples/using-with-cmake/FindVTKm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ if(NOT VTKM_DIR)
MESSAGE(FATAL_ERROR "Could not find VTKM_DIR. Conduit requires explicit VTKM_DIR.")
endif()

if(NOT EXISTS ${VTKM_DIR}/lib/cmake/vtkm-1.1/VTKmConfig.cmake)
if(NOT EXISTS ${VTKM_DIR}/lib/cmake/vtkm-1.2/VTKmConfig.cmake)
MESSAGE(FATAL_ERROR "Could not find VTKm CMake include file (${VTKM_DIR}/lib/cmake/vtkm-1.0/VTKmConfig.cmake)")
endif()

###############################################################################
# Import VTKm CMake targets
###############################################################################
include(${VTKM_DIR}/lib/cmake/vtkm-1.1/VTKmConfig.cmake)
include(${VTKM_DIR}/lib/cmake/vtkm-1.2/VTKmConfig.cmake)

###############################################################################
# Set remaning CMake variables
Expand Down

0 comments on commit 9f32171

Please sign in to comment.