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

better gmm+mumps

parent af388589
No related branches found
No related tags found
No related merge requests found
......@@ -854,7 +854,6 @@ if(HAVE_SOLVER)
find_path(ZMUMPS_INC "zmumps_c.h" PATH_SUFFIXES src include)
if(MUMPS_LIBRARIES AND SMUMPS_INC AND DMUMPS_INC AND CMUMPS_INC AND ZMUMPS_INC)
set_config_option(HAVE_MUMPS "MUMPS")
add_definitions(-DGMM_USES_MUMPS)
list(APPEND EXTERNAL_LIBRARIES ${MUMPS_LIBRARIES})
list(APPEND EXTERNAL_INCLUDES ${SMUMPS_INC})
list(APPEND EXTERNAL_INCLUDES ${DMUMPS_INC})
......@@ -864,6 +863,9 @@ if(HAVE_SOLVER)
if(GFORTRAN_LIB)
list(APPEND EXTERNAL_LIBRARIES ${GFORTRAN_LIB})
endif(GFORTRAN_LIB)
if(ENABLE_GMM) # use GMM/MUMPS interface
add_definitions(-DGMM_USES_MUMPS)
endif(ENABLE_GMM)
endif(MUMPS_LIBRARIES AND SMUMPS_INC AND DMUMPS_INC AND CMUMPS_INC AND ZMUMPS_INC)
endif(ENABLE_MUMPS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment