Commit 5b7b8bcd authored by goodloop's avatar goodloop Committed by Davis E. King

fix unneeded reference for cblas_strsm and cblas_dtrsm when DLIB_USE_BLAS is not defined (#519)

parent 72645edf
...@@ -9,6 +9,7 @@ namespace dlib ...@@ -9,6 +9,7 @@ namespace dlib
{ {
namespace blas_bindings namespace blas_bindings
{ {
#ifdef DLIB_USE_BLAS
#ifndef CBLAS_H #ifndef CBLAS_H
extern "C" extern "C"
{ {
...@@ -25,6 +26,7 @@ namespace dlib ...@@ -25,6 +26,7 @@ namespace dlib
double *B, const int ldb); double *B, const int ldb);
} }
#endif // if not CBLAS_H #endif // if not CBLAS_H
#endif // if DLIB_USE_BLAS
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment