Skip to content

Commit

Permalink
Prevent duplicated link libraries: -ldl -lm -lm -ldl
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke authored and endJunction committed Apr 15, 2024
1 parent 049b2d4 commit cc492ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/cmake/Find.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ if(OGS_USE_MKL)
endif()
endif()
find_package(BLAS)
find_package(LAPACK)
if(OGS_USE_MKL)
find_package(LAPACK)
endif()

if(OGS_USE_MKL)
if(GUIX_BUILD)
Expand Down

0 comments on commit cc492ee

Please sign in to comment.