blob: 23f2b0c2a1a21bbe5d8a381741123cf14e4d3095 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Use cblas implementation instead of restricting openblas
--- a/cmake/Modules/FindAubio.cmake
+++ b/cmake/Modules/FindAubio.cmake
@@ -4,17 +4,9 @@ include(LibFetchMacros)
set(Aubio_GIT_VERSION "master")
#set(BLA_VENDOR OpenBLAS)
-set(BLA_PKGCONFIG_BLAS openblas)
+set(BLA_PKGCONFIG_BLAS cblas)
find_package(BLAS REQUIRED)
-# also Accelerate.framework for mac
-
-if (NOT APPLE AND NOT BLAS_LIBRARIES MATCHES "openblas")
- message(FATAL_ERROR "BLAS vendor is not OpenBLAS. Found: ${BLAS_LIBRARIES}")
-elseif (APPLE AND NOT BLAS_LIBRARIES MATCHES "Accelerate.framework")
- message(FATAL_ERROR "BLAS vendor is not Accelerate.framework. Found: ${BLAS_LIBRARIES}")
-endif()
-
if(SELF_BUILT_AUBIO STREQUAL "ALWAYS")
message(STATUS "aubio forced to build from source")
libfetch_git_pkg(Aubio
|