diff --git a/dlib/CMakeLists.txt b/dlib/CMakeLists.txt index 228cc863a7..62c6f6c282 100644 --- a/dlib/CMakeLists.txt +++ b/dlib/CMakeLists.txt @@ -473,7 +473,7 @@ if (NOT TARGET dlib) endif() if (DLIB_USE_LAPACK) - if (lapack_found) + if (lapack_found AND NOT ANDROID) set (dlib_needed_libraries ${dlib_needed_libraries} ${lapack_libraries}) if (lapack_with_underscore) set(LAPACK_FORCE_UNDERSCORE 1)