openbsd-ports/math/armadillo/patches/patch-CMakeLists_txt
2022-03-11 19:36:11 +00:00

23 lines
604 B
Plaintext

Not sure if blas build is okay ? it should probably have gfortran built-in
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -275,14 +275,14 @@ else()
if(BLAS_FOUND)
set(ARMA_USE_BLAS true)
- set(ARMA_LIBS ${ARMA_LIBS} ${BLAS_LIBRARIES})
+ set(ARMA_LIBS ${ARMA_LIBS} ${BLAS_LIBRARIES} "gfortran")
endif()
endif()
if(LAPACK_FOUND)
set(ARMA_USE_LAPACK true)
- set(ARMA_LIBS ${ARMA_LIBS} ${LAPACK_LIBRARIES})
+ set(ARMA_LIBS ${ARMA_LIBS} ${LAPACK_LIBRARIES} "gfortran")
endif()
endif()