CMake: Set LAPACK libs as public (#2923)

This commit is contained in:
Julien Schueller 2024-03-27 00:15:42 +01:00 committed by GitHub
parent c26b1238df
commit 14ba5572e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ if (NOT TARGET dlib)
if (DLIB_USE_LAPACK)
if (lapack_found)
list (APPEND dlib_needed_private_libraries ${lapack_libraries})
list (APPEND dlib_needed_public_libraries ${lapack_libraries})
if (lapack_with_underscore)
set(LAPACK_FORCE_UNDERSCORE 1)
enable_preprocessor_switch(LAPACK_FORCE_UNDERSCORE)