From 14ba5572e7b1ce4c5eb5ca690484583a4bc4717f Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Wed, 27 Mar 2024 00:15:42 +0100 Subject: [PATCH] CMake: Set LAPACK libs as public (#2923) --- dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/CMakeLists.txt b/dlib/CMakeLists.txt index 36dab9fb3..44045ef3c 100644 --- a/dlib/CMakeLists.txt +++ b/dlib/CMakeLists.txt @@ -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)