diff --git a/math/lapack/patches/patch-CBLAS_CMakeLists_txt b/math/lapack/patches/patch-CBLAS_CMakeLists_txt new file mode 100644 index 00000000000..87589818797 --- /dev/null +++ b/math/lapack/patches/patch-CBLAS_CMakeLists_txt @@ -0,0 +1,12 @@ +Index: CBLAS/CMakeLists.txt +--- CBLAS/CMakeLists.txt.orig ++++ CBLAS/CMakeLists.txt +@@ -10,7 +10,7 @@ if(CMAKE_Fortran_COMPILER) + enable_language(Fortran) + include(FortranCInterface) + ## Ensure that the fortran compiler and c compiler specified are compatible +- FortranCInterface_VERIFY() ++ #FortranCInterface_VERIFY() + FortranCInterface_HEADER(${LAPACK_BINARY_DIR}/include/cblas_mangling.h + MACRO_NAMESPACE "F77_" + SYMBOL_NAMESPACE "F77_") diff --git a/math/lapack/patches/patch-LAPACKE_include_CMakeLists_txt b/math/lapack/patches/patch-LAPACKE_include_CMakeLists_txt new file mode 100644 index 00000000000..5bb4cff9dc9 --- /dev/null +++ b/math/lapack/patches/patch-LAPACKE_include_CMakeLists_txt @@ -0,0 +1,12 @@ +Index: LAPACKE/include/CMakeLists.txt +--- LAPACKE/include/CMakeLists.txt.orig ++++ LAPACKE/include/CMakeLists.txt +@@ -14,7 +14,7 @@ if(CMAKE_Fortran_COMPILER AND CMAKE_C_COMPILER) + enable_language(C) + include(FortranCInterface) + ## Ensure that the fortran compiler and c compiler specified are compatible +- FortranCInterface_VERIFY() ++ #FortranCInterface_VERIFY() + FortranCInterface_HEADER(${LAPACK_BINARY_DIR}/include/lapacke_mangling.h + MACRO_NAMESPACE "LAPACK_" + SYMBOL_NAMESPACE "LAPACK_")