Skip to content

Commit ae8ae6c

Browse files
Leonid Bobrovnerzhul
Leonid Bobrov
authored andcommittedJun 26, 2018
Fix libgmp detection (#7488)
1 parent e4e95e4 commit ae8ae6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎cmake/Modules/FindGMP.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mark_as_advanced(GMP_LIBRARY GMP_INCLUDE_DIR)
33
set(USE_SYSTEM_GMP FALSE)
44

55
if(ENABLE_SYSTEM_GMP)
6-
find_library(GMP_LIBRARY NAMES libgmp.so)
6+
find_library(GMP_LIBRARY NAMES gmp)
77
find_path(GMP_INCLUDE_DIR NAMES gmp.h)
88

99
if(GMP_LIBRARY AND GMP_INCLUDE_DIR)

0 commit comments

Comments
 (0)
Please sign in to comment.