aboutsummaryrefslogtreecommitdiff
path: root/ports/dlib/find_blas.patch
diff options
context:
space:
mode:
authorSean Warren <s.warren@garvan.org.au>2019-05-25 02:39:59 +1000
committerPhil Christensen <philc@microsoft.com>2019-05-24 09:39:59 -0700
commit65c02123a4b8b99dad2a20013c2b4f29ffb58dbf (patch)
tree5d98681ea3d708fafc661e5db3b9e5cb3ffb8755 /ports/dlib/find_blas.patch
parente37cc662ee29852f45e85961124f62d91acb488a (diff)
downloadvcpkg-65c02123a4b8b99dad2a20013c2b4f29ffb58dbf.tar.gz
vcpkg-65c02123a4b8b99dad2a20013c2b4f29ffb58dbf.zip
[dlib] Update to v19.17 and fix static lapack linkage (#6520)
* [dlib] Update to v19.17 and fix static lapack linkage * [dlib] Update patchs for new dlib version
Diffstat (limited to 'ports/dlib/find_blas.patch')
-rw-r--r--ports/dlib/find_blas.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/ports/dlib/find_blas.patch b/ports/dlib/find_blas.patch
new file mode 100644
index 000000000..3ea8d30ae
--- /dev/null
+++ b/ports/dlib/find_blas.patch
@@ -0,0 +1,11 @@
+--- a/dlib/cmake_utils/find_blas.cmake
++++ b/dlib/cmake_utils/find_blas.cmake
+@@ -414,7 +414,7 @@
+ if (lapack_found)
+ include(CheckFunctionExists)
+ 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)