Skip to content

Commit

Permalink
Make search more flexible.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Apr 20, 2024
1 parent d89a710 commit 76ac960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/gmp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ find_path(GMP_INCLUDE_DIR gmp.h
)

if(STBIN)
find_library(GMP_LIBRARIES NAMES libgmp.a gmp.lib libgmp-10 libgmp gmp)
find_library(GMP_LIBRARIES NAMES libgmp.a libgmp.dll.a gmp.lib libgmp-10 libgmp gmp)
else(STBIN)
find_library(GMP_LIBRARIES NAMES libgmp.so gmp.lib libgmp-10 libgmp gmp)
find_library(GMP_LIBRARIES NAMES libgmp.so libgmp.dll.so gmp.lib libgmp-10 libgmp gmp)
endif(STBIN)

if(GMP_INCLUDE_DIR AND GMP_LIBRARIES)
Expand Down

0 comments on commit 76ac960

Please sign in to comment.