Skip to content
Snippets Groups Projects
Commit 2c2ad6eb authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

re-fix gmp stuff

parent 4be454f9
No related branches found
No related tags found
No related merge requests found
......@@ -463,13 +463,17 @@ if(ENABLE_GMM)
endif(ENABLE_GMM)
if(ENABLE_KBIPACK)
add_subdirectory(contrib/kbipack)
include_directories(contrib/kbipack)
set_config_option(HAVE_KBIPACK "Kbipack")
find_library(GMP_LIB NAMES gmp)
if(GMP_LIB)
set_config_option(HAVE_GMP "GMP")
list(APPEND EXTERNAL_LIBRARIES ${GMP_LIB})
find_path(GMP_INC "gmp.h" PATH_SUFFIXES src include)
if(GMP_INC)
set_config_option(HAVE_GMP "GMP")
list(APPEND EXTERNAL_LIBRARIES ${GMP_LIB})
list(APPEND EXTERNAL_INCLUDES ${GMP_INC})
add_subdirectory(contrib/kbipack)
include_directories(contrib/kbipack)
set_config_option(HAVE_KBIPACK "Kbipack")
endif(GMP_INC)
endif(GMP_LIB)
endif(ENABLE_KBIPACK)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment