mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Don't try to include vtkm/exec/cuda unless cuda is enabled.
This commit is contained in:
parent
fdcbb9cd21
commit
1348aa0ec1
@ -62,7 +62,7 @@ vtkm_declare_headers(${impl_headers} ${headers})
|
||||
|
||||
if (VTKm_ENABLE_CUDA)
|
||||
add_subdirectory(cuda)
|
||||
endif (VTKm_ENABLE_CUDA)
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
add_subdirectory(testing)
|
||||
|
@ -31,7 +31,9 @@ vtkm_declare_headers(${impl_headers} ${headers})
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
add_subdirectory(cuda)
|
||||
if (VTKm_ENABLE_CUDA)
|
||||
add_subdirectory(cuda)
|
||||
endif ()
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user