vcpkg/ports/shogun/fix_accelerate_detection.patch
Alexander Neumann 0bc3f04da6
[blas/lapack] force vendor (#24327)
Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2024-04-08 11:15:54 -07:00

15 lines
600 B
Diff

diff --git a/cmake/ShogunFindLAPACK.cmake b/cmake/ShogunFindLAPACK.cmake
index fe3d6db9c2..882a1f4218 100644
--- a/cmake/ShogunFindLAPACK.cmake
+++ b/cmake/ShogunFindLAPACK.cmake
@@ -6,7 +6,8 @@ IF (LAPACK_FOUND)
SET(HAVE_LAPACK 1)
# find out the type of Lapack/BLAS implementation we are dealing with
- IF("${LAPACK_LIBRARIES}" MATCHES ".*/Accelerate.framework$")
+ message(STATUS "LAPACK_LIBRARIES:${LAPACK_LIBRARIES}")
+ IF("${LAPACK_LIBRARIES}" MATCHES ".*/Accelerate.framework(;|$)")
# Accelerate.framework we found for LaPack/BLAS
SET(HAVE_MVEC 1)
SET(HAVE_CATLAS 1)