aboutsummaryrefslogtreecommitdiff
path: root/ports/armadillo/remove_custom_modules.patch
blob: 1ce5984bfea835980e70daf5d162f94c9a39ee86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0fb228f..2275734 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -321,14 +321,13 @@ else()
   set(ARMA_OS unix)
   
   include(ARMA_FindMKL)
-  include(ARMA_FindOpenBLAS)
   include(ARMA_FindATLAS)
-  include(ARMA_FindBLAS)
-  include(ARMA_FindLAPACK)
   
   if(ALLOW_FLEXIBLAS_LINUX AND (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
     include(ARMA_FindFlexiBLAS)
   endif()
+  find_package(BLAS)
+  find_package(LAPACK)  
   
   message(STATUS "      MKL_FOUND = ${MKL_FOUND}"       )
   message(STATUS " OpenBLAS_FOUND = ${OpenBLAS_FOUND}"  )