diff options
Diffstat (limited to 'science/libcint/files/patch-CMakeLists.txt')
-rw-r--r-- | science/libcint/files/patch-CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/science/libcint/files/patch-CMakeLists.txt b/science/libcint/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..a568548498f6 --- /dev/null +++ b/science/libcint/files/patch-CMakeLists.txt @@ -0,0 +1,15 @@ +--- CMakeLists.txt.orig 2018-03-26 22:49:26 UTC ++++ CMakeLists.txt +@@ -25,7 +25,11 @@ if(QUADMATH_FOUND) + set(HAVE_QUADMATH_H 1 CACHE INTERNAL "Have QUADMATH") + endif() + +-find_package(BLAS REQUIRED) ++# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226959 ++#find_package(BLAS REQUIRED) ++set(BLAS_FOUND ON) ++set(BLAS_LINKER_FLAGS -L${CMAKE_INSTALL_PREFIX}/lib -lopenblas -lopenblasp) ++set(BLAS_LIBRARIES ${CMAKE_INSTALL_PREFIX}/lib/libopenblas.so ${CMAKE_INSTALL_PREFIX}/lib/libopenblasp.so) + + include(CheckFunctionExists) + set(CMAKE_REQUIRED_INCLUDES math.h) |