Skip to content

Commit

Permalink
Android: avoid linking liblapack.so from host
Browse files Browse the repository at this point in the history
(cherry picked from commit 1432af2)
(cherry picked from commit fbd85b9)
(cherry picked from commit b142f9c)
  • Loading branch information
ruslo authored and john-forrest committed Sep 7, 2021
1 parent d73a486 commit 862cc1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 862cc1d

Please sign in to comment.