Commit 52972a73 authored by Davis King's avatar Davis King

Fixed incorrect printing of blas warning message.

parent 27b2d034
...@@ -254,18 +254,6 @@ if (UNIX OR MINGW) ...@@ -254,18 +254,6 @@ if (UNIX OR MINGW)
endif() endif()
if (NOT blas_found)
message(" *****************************************************************************")
message(" *** No BLAS library found so using dlib's built in BLAS. However, if you ***")
message(" *** install an optimized BLAS such as OpenBLAS or the Intel MKL your code ***")
message(" *** will run faster. On Ubuntu you can install OpenBLAS by executing: ***")
message(" *** sudo apt-get install libopenblas-dev liblapack-dev ***")
message(" *** Or you can easily install OpenBLAS from source by downloading the ***")
message(" *** source tar file from http://www.openblas.net, extracting it, and ***")
message(" *** running: ***")
message(" *** make; sudo make install ***")
message(" *****************************************************************************")
endif()
elseif(WIN32 AND NOT MINGW) elseif(WIN32 AND NOT MINGW)
message(STATUS "Searching for BLAS and LAPACK") message(STATUS "Searching for BLAS and LAPACK")
...@@ -367,3 +355,19 @@ if (lapack_found) ...@@ -367,3 +355,19 @@ if (lapack_found)
endif () endif ()
endif() endif()
if (UNIX OR MINGW)
if (NOT blas_found)
message(" *****************************************************************************")
message(" *** No BLAS library found so using dlib's built in BLAS. However, if you ***")
message(" *** install an optimized BLAS such as OpenBLAS or the Intel MKL your code ***")
message(" *** will run faster. On Ubuntu you can install OpenBLAS by executing: ***")
message(" *** sudo apt-get install libopenblas-dev liblapack-dev ***")
message(" *** Or you can easily install OpenBLAS from source by downloading the ***")
message(" *** source tar file from http://www.openblas.net, extracting it, and ***")
message(" *** running: ***")
message(" *** make; sudo make install ***")
message(" *****************************************************************************")
endif()
endif()
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