Make cblas public (#2817)

This commit is contained in:
Julien Schueller 2023-06-29 14:24:07 +02:00 committed by GitHub
parent 18927f93e2
commit 4d2db66cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -589,7 +589,7 @@ if (NOT TARGET dlib)
if (DLIB_USE_BLAS) if (DLIB_USE_BLAS)
if (blas_found) if (blas_found)
list (APPEND dlib_needed_private_libraries ${blas_libraries}) list (APPEND dlib_needed_public_libraries ${blas_libraries})
else() else()
set(DLIB_USE_BLAS OFF CACHE STRING ${DLIB_USE_BLAS_STR} FORCE ) set(DLIB_USE_BLAS OFF CACHE STRING ${DLIB_USE_BLAS_STR} FORCE )
toggle_preprocessor_switch(DLIB_USE_BLAS) toggle_preprocessor_switch(DLIB_USE_BLAS)