Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add vtkm check for Ascent default types #1067

Merged
merged 5 commits into from
Dec 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/cmake/thirdparty/SetupVTKm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ endif()

find_package(VTKm REQUIRED QUIET)

#vtkm default type check
if(NOT VTKm_USE_DEFAULT_TYPES_FOR_ASCENT)
message(FATAL_ERROR "Ascent requires VTK-m to be built with default types (VTKm_USE_DEFAULT_TYPES_FOR_ASCENT=ON)")
endif()

if(ENABLE_CUDA AND NOT VTKm_ENABLE_CUDA)
message(FATAL_ERROR "VTK-h CUDA support requires VTK-m with CUDA support (ENABLE_CUDA == TRUE, however VTKm_ENABLE_CUDA == FALSE")
endif()
Expand Down
Loading