CMake: Set LAPACK libs as public (#2923)

pull/2936/head
Julien Schueller 6 months ago committed by GitHub
parent c26b1238df
commit 14ba5572e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save