From: Leonid Bobrov Date: Tue, 26 Jun 2018 08:00:33 +0000 (+0300) Subject: Fix libgmp detection (#7488) X-Git-Tag: 5.0.0~336 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ae8ae6c9062cde3f8bc388f4ab23c6ff65b5af40;p=oweals%2Fminetest.git Fix libgmp detection (#7488) --- 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)