aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/dlib/find_blas.patch
blob: 47b07a483209ac69c7868cefdcdba16a34a00f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)