From a86eaffbee47329557b9058a8d96b76670097186 Mon Sep 17 00:00:00 2001 From: Rocco Meli Date: Mon, 3 Jun 2024 16:26:58 +0200 Subject: [PATCH] all --- cmake/template/DLAFConfig.cmake.in | 4 ++-- spack/packages/dla-future/package.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/template/DLAFConfig.cmake.in b/cmake/template/DLAFConfig.cmake.in index 99f39d8c2e..bb3f50a303 100644 --- a/cmake/template/DLAFConfig.cmake.in +++ b/cmake/template/DLAFConfig.cmake.in @@ -56,8 +56,8 @@ set(LAPACK_INCLUDE_DIR "@LAPACK_INCLUDE_DIR@") find_dependency(LAPACK) if(DLAF_WITH_SCALAPACK) - set(SCALAPACK_LIBRARY "@SCALAPACK_LIBRARY@") - set(SCALAPACK_INCLUDE_DIR "@SCALAPACK_INCLUDE_DIR@") + set(DLAF_SCALAPACK_LIBRARY "@DLAF_SCALAPACK_LIBRARY@") + set(DLAF_SCALAPACK_INCLUDE_DIR "@DLAF_SCALAPACK_INCLUDE_DIR@") find_dependency(SCALAPACK) endif() diff --git a/spack/packages/dla-future/package.py b/spack/packages/dla-future/package.py index 0a41fa4596..09809f9db0 100644 --- a/spack/packages/dla-future/package.py +++ b/spack/packages/dla-future/package.py @@ -254,7 +254,7 @@ def cmake_args(self): ) ) if "+scalapack" in spec: - args.append(self.define("SCALAPACK_LIBRARY", spec["scalapack"].libs.ld_flags)) + args.append(self.define("DLAF_SCALAPACK_LIBRARY", spec["scalapack"].libs.ld_flags)) args.append(self.define_from_variant("DLAF_WITH_SCALAPACK", "scalapack"))