Skip to content
Snippets Groups Projects
Commit 0f12caff authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[cleanup] Remove enable trick for UMFPack

parent d75c3a46
No related branches found
No related tags found
No related merge requests found
# module providing convenience mehtods for compiling bianries with UMFPack support
# module providing convenience methods for compiling
# binaries with UMFPack support
#
# Provides the following functions:
#
......@@ -12,7 +13,7 @@ function(add_dune_umfpack_flags _targets)
get_target_property(_props ${_target} COMPILE_FLAGS)
string(REPLACE "_props-NOTFOUND" "" _props "${_props}")
set_target_properties(${_target} PROPERTIES COMPILE_FLAGS
"${_props} ${UMFPACK_DUNE_COMPILE_FLAGS} -DENABLE_UMFPACK")
"${_props} ${UMFPACK_DUNE_COMPILE_FLAGS}")
endforeach(_target ${_targets})
endif(UMFPACK_FOUND)
endfunction(add_dune_umfpack_flags)
\ No newline at end of file
endfunction(add_dune_umfpack_flags)
......@@ -96,7 +96,7 @@ set(HAVE_UMFPACK ${UMFPACK_FOUND})
# register all umfpack related flags
if(UMFPACK_FOUND)
dune_register_package_flags(COMPILE_DEFINITIONS "ENABLE_UMFPACK=1"
LIBRARIES "${UMFPACK_LIBRARIES}"
INCLUDE_DIRS "${UMFPACK_INCLUDE_DIRS}")
dune_register_package_flags(
LIBRARIES "${UMFPACK_LIBRARIES}"
INCLUDE_DIRS "${UMFPACK_INCLUDE_DIRS}")
endif()
......@@ -107,8 +107,8 @@
/* does the compiler support the keyword 'final'? */
#cmakedefine HAVE_KEYWORD_FINAL 1
/* Define to if the UMFPack library is available */
#cmakedefine HAVE_UMFPACK ENABLE_UMFPACK
/* Define to 1 if the UMFPack library is available */
#cmakedefine HAVE_UMFPACK 1
/* Define to ENABLE_PARMETIS if you have the Parmetis library.
This is only true if MPI was found
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment