blob: cbfc013141b592b660a45787ac1cbd4abf1840ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -121,13 +121,7 @@ if(BLAS_FOUND)
set(BLAS_LIB_EXPORT ${BLAS_LIB_STR})
else()
message("-- Did not find or specify BLAS so configure to build internal CBLAS ...")
- add_subdirectory(CBLAS)
- set(BLAS_LIB blas)
- if (BUILD_SHARED_LIBS) # export to be referenced by downstream makefile
- set(BLAS_LIB_EXPORT ${CMAKE_INSTALL_PREFIX}/CBLAS/libblas.so)
- else()
- set(BLAS_LIB_EXPORT ${CMAKE_INSTALL_PREFIX}/CBLAS/libblas.a)
- endif()
+ message( FATAL_ERROR "Could not find BLAS, refusing to use internal copy" )
endif()
######################################################################
|