scalapack: replace cmakeFlagsArray with cmakeFlags

This commit is contained in:
qbisi
2025-09-26 22:25:21 +08:00
parent 01c57ded79
commit 36fdfd6505
+1 -1
View File
@@ -74,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
# this line is left so those who force installation on x86_64-darwin can still build
doCheck = !(stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin);
cmakeFlagsArray = [
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
(lib.cmakeFeature "LAPACK_LIBRARIES" "-llapack")
(lib.cmakeFeature "BLAS_LIBRARIES" "-lblas")