vtk-m +cuda: conflicts with cuda_arch=none (#27916)
This commit is contained in:
parent
f6802b733a
commit
26dcb0ffc4
@ -89,6 +89,9 @@ class VtkM(CMakePackage, CudaPackage):
|
||||
|
||||
conflicts("+hip", when="+cuda")
|
||||
|
||||
conflicts("+cuda", when="cuda_arch=none",
|
||||
msg="vtk-m +cuda requires that cuda_arch be set")
|
||||
|
||||
def cmake_args(self):
|
||||
spec = self.spec
|
||||
options = []
|
||||
|
Loading…
Reference in New Issue
Block a user