mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed incorrect printing of blas warning message.
This commit is contained in:
parent
27b2d03432
commit
52972a7380
@ -254,18 +254,6 @@ if (UNIX OR MINGW)
|
||||
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)
|
||||
message(STATUS "Searching for BLAS and LAPACK")
|
||||
@ -367,3 +355,19 @@ if (lapack_found)
|
||||
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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user