Commit 04a464cc authored by Allison Vacanti's avatar Allison Vacanti

Update cuda detection to create vtkm::cuda as an interface library.

parent d1a957bf
This diff is collapsed.
......@@ -187,7 +187,7 @@ function(vtkm_library)
#if cuda requires static libaries force
#them no matter what
if(TARGET vtkm::cuda)
get_target_property(force_static vtkm::cuda REQUIRES_STATIC_BUILDS)
get_target_property(force_static vtkm::cuda INTERFACE_REQUIRES_STATIC_BUILDS)
set(VTKm_LIB_type STATIC)
message("Forcing ${lib_name} to be built statically as we are using CUDA 8.X, which doesn't support virtuals sufficiently in dynamic libraries.")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment