forked from Mirrorlandia_minetest/minetest
Fix libgmp detection (#7488)
This commit is contained in:
parent
e4e95e47af
commit
ae8ae6c906
@ -3,7 +3,7 @@ mark_as_advanced(GMP_LIBRARY GMP_INCLUDE_DIR)
|
|||||||
set(USE_SYSTEM_GMP FALSE)
|
set(USE_SYSTEM_GMP FALSE)
|
||||||
|
|
||||||
if(ENABLE_SYSTEM_GMP)
|
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)
|
find_path(GMP_INCLUDE_DIR NAMES gmp.h)
|
||||||
|
|
||||||
if(GMP_LIBRARY AND GMP_INCLUDE_DIR)
|
if(GMP_LIBRARY AND GMP_INCLUDE_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user