]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | --- a/dlib/cmake_utils/find_blas.cmake |
2 | +++ b/dlib/cmake_utils/find_blas.cmake | |
3 | @@ -414,7 +414,7 @@ | |
4 | if (lapack_found) | |
5 | include(CheckFunctionExists) | |
6 | include(CheckFortranFunctionExists) | |
7 | - set(CMAKE_REQUIRED_LIBRARIES ${lapack_libraries}) | |
8 | + set(CMAKE_REQUIRED_LIBRARIES ${lapack_libraries} ${blas_libraries}) | |
9 | ||
10 | check_function_exists("sgesv" LAPACK_FOUND_C_UNMANGLED) | |
11 | check_function_exists("sgesv_" LAPACK_FOUND_C_MANGLED) |