diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/dlib/find_blas.patch | |
Diffstat (limited to 'vcpkg/ports/dlib/find_blas.patch')
| -rw-r--r-- | vcpkg/ports/dlib/find_blas.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/dlib/find_blas.patch b/vcpkg/ports/dlib/find_blas.patch new file mode 100644 index 0000000..47b07a4 --- /dev/null +++ b/vcpkg/ports/dlib/find_blas.patch @@ -0,0 +1,13 @@ +diff --git a/dlib/cmake_utils/find_blas.cmake b/dlib/cmake_utils/find_blas.cmake +index 806b938..507f871 100644 +--- a/dlib/cmake_utils/find_blas.cmake ++++ b/dlib/cmake_utils/find_blas.cmake +@@ -438,7 +438,7 @@ endif() + # If using lapack, determine whether to mangle functions + if (lapack_found) + include(CheckFortranFunctionExists) +- set(CMAKE_REQUIRED_LIBRARIES ${lapack_libraries}) ++ set(CMAKE_REQUIRED_LIBRARIES ${lapack_libraries} ${blas_libraries}) + + check_function_exists("sgesv" LAPACK_FOUND_C_UNMANGLED) + check_function_exists("sgesv_" LAPACK_FOUND_C_MANGLED) |