summaryrefslogtreecommitdiff
path: root/math/lapack/files/patch-CMakeLists.txt
blob: db50ddd14eeeba3fa76f5ddd4b7344e5af3ee4fe (plain) (blame)
1
2
3
4
5
6
7
8
9
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)