diff --git a/contrib/spack/packages/lci/package.py b/contrib/spack/packages/lci/package.py index 01eabe1a..189c5aa8 100644 --- a/contrib/spack/packages/lci/package.py +++ b/contrib/spack/packages/lci/package.py @@ -96,9 +96,9 @@ def cmake_args(self): self.define_from_variant('LCI_USE_AVX', 'vector'), self.define_from_variant('LCI_CONFIG_USE_ALIGNED_ALLOC', 'aligned'), self.define_from_variant('LCI_OPTIMIZE_FOR_NATIVE', 'native'), - self.define('LCI_USE_INLINE_CQ', 'inline-cq'), + self.define_from_variant('LCI_USE_INLINE_CQ', 'inline-cq'), self.define_from_variant('LCI_IBV_ENABLE_TRY_LOCK_QP', 'qp-lock'), - self.define('LCI_ENABLE_MULTITHREAD_PROGRESS', 'multithread-progress'), + self.define_from_variant('LCI_ENABLE_MULTITHREAD_PROGRESS', 'multithread-progress'), self.define('LCI_USE_DREG_DEFAULT', 1 if self.spec.variants['default-dreg'].value else 0), self.define_from_variant('LCI_DEBUG', 'debug'),