You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/superlu/files/superlu-5.2.2-no-internal-b...

18 lines
658 B

--- 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()
######################################################################