mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 18:59:01 +08:00
65c02123a4
* [dlib] Update to v19.17 and fix static lapack linkage * [dlib] Update patchs for new dlib version
12 lines
437 B
Diff
12 lines
437 B
Diff
--- 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)
|