summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/arborx/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/arborx/package.py b/var/spack/repos/builtin/packages/arborx/package.py
index dfca8c7aaa..7d10ef1fab 100644
--- a/var/spack/repos/builtin/packages/arborx/package.py
+++ b/var/spack/repos/builtin/packages/arborx/package.py
@@ -36,7 +36,7 @@ class Arborx(CMakePackage):
spec = self.spec
options = [
- '-DCMAKE_PREFIX_PATH=%s' % spec['kokkos'].prefix,
+ '-DCMAKE_PREFIX_PATH=%s' % spec['kokkos-legacy'].prefix,
'-DARBORX_ENABLE_TESTS=OFF',
'-DARBORX_ENABLE_EXAMPLES=OFF',
'-DARBORX_ENABLE_BENCHMARKS=OFF',