summaryrefslogtreecommitdiff
path: root/math/lapack/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'math/lapack/files/patch-CMakeLists.txt')
-rw-r--r--math/lapack/files/patch-CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/lapack/files/patch-CMakeLists.txt b/math/lapack/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..db50ddd14eee
--- /dev/null
+++ b/math/lapack/files/patch-CMakeLists.txt
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig 2023-11-24 20:41:15 UTC
++++ CMakeLists.txt
+@@ -223,6 +223,7 @@ if(BLAS_LIBRARIES)
+
+ # Check the usage of the user provided BLAS libraries
+ if(BLAS_LIBRARIES)
++ enable_language(Fortran)
+ include(CheckFortranFunctionExists)
+ set(CMAKE_REQUIRED_LIBRARIES ${BLAS_LIBRARIES})
+ CHECK_FORTRAN_FUNCTION_EXISTS("dgemm" BLAS_FOUND)