allow camp to use blt package (#26765)
This commit is contained in:
parent
1b634f05e0
commit
b7d94ebc4f
@ -29,11 +29,15 @@ class Camp(CMakePackage, CudaPackage, ROCmPackage):
|
||||
|
||||
depends_on('cub', when='+cuda')
|
||||
|
||||
depends_on('blt')
|
||||
|
||||
def cmake_args(self):
|
||||
spec = self.spec
|
||||
|
||||
options = []
|
||||
|
||||
options.append("-DBLT_SOURCE_DIR={0}".format(spec['blt'].prefix))
|
||||
|
||||
if '+cuda' in spec:
|
||||
options.extend([
|
||||
'-DENABLE_CUDA=ON',
|
||||
|
Loading…
Reference in New Issue
Block a user