aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/FindGMP.cmake
diff options
context:
space:
mode:
authorLeonid Bobrov <mazocomp@disroot.org>2018-06-26 11:00:33 +0300
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-06-26 10:00:33 +0200
commitae8ae6c9062cde3f8bc388f4ab23c6ff65b5af40 (patch)
tree551b993ccd694a218b7e80879547c829ef03764d /cmake/Modules/FindGMP.cmake
parente4e95e47afa86b7c522d5b5e64c6ed10094108ff (diff)
downloadminetest-ae8ae6c9062cde3f8bc388f4ab23c6ff65b5af40.tar.gz
minetest-ae8ae6c9062cde3f8bc388f4ab23c6ff65b5af40.tar.bz2
minetest-ae8ae6c9062cde3f8bc388f4ab23c6ff65b5af40.zip
Fix libgmp detection (#7488)
Diffstat (limited to 'cmake/Modules/FindGMP.cmake')
-rw-r--r--cmake/Modules/FindGMP.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindGMP.cmake b/cmake/Modules/FindGMP.cmake
index 64a57cfe0..7b45f16c7 100644
--- a/cmake/Modules/FindGMP.cmake
+++ b/cmake/Modules/FindGMP.cmake
@@ -3,7 +3,7 @@ mark_as_advanced(GMP_LIBRARY GMP_INCLUDE_DIR)
set(USE_SYSTEM_GMP FALSE)
if(ENABLE_SYSTEM_GMP)
- find_library(GMP_LIBRARY NAMES libgmp.so)
+ find_library(GMP_LIBRARY NAMES gmp)
find_path(GMP_INCLUDE_DIR NAMES gmp.h)
if(GMP_LIBRARY AND GMP_INCLUDE_DIR)