aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindGMP.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindGMP.cmake b/modules/FindGMP.cmake
index 67ccbbb1..17d175c6 100644
--- a/modules/FindGMP.cmake
+++ b/modules/FindGMP.cmake
@@ -15,7 +15,7 @@ if (GMP_INCLUDE_DIR AND GMP_LIBRARIES)
endif (GMP_INCLUDE_DIR AND GMP_LIBRARIES)
find_path(GMP_INCLUDE_DIR NAMES gmp.h )
-find_library(GMP_LIBRARIES NAMES gmp )
+find_library(GMP_LIBRARIES NAMES gmp libgmp)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARIES)