Skip to content
Snippets Groups Projects
Commit 287b0ae9 authored by Andreas Dedner's avatar Andreas Dedner
Browse files

Merge branch 'master' into feature/FS1622

parents 6fdf16cb 1246f567
No related branches found
No related tags found
No related merge requests found
...@@ -133,12 +133,9 @@ endif(SUPERLU_FOUND) ...@@ -133,12 +133,9 @@ endif(SUPERLU_FOUND)
# set HAVE_SUPERLU for config.h # set HAVE_SUPERLU for config.h
set(HAVE_SUPERLU ${SUPERLU_FOUND}) set(HAVE_SUPERLU ${SUPERLU_FOUND})
#add all superlu related flags to ALL_PKG_FLAGS, this must happen regardless of a target using add_dune_superlu_flags # register all superlu related flags
if(SUPERLU_FOUND) if(SUPERLU_FOUND)
set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-DENABLE_SUPERLU ${SUPERLU_DUNE_COMPILE_FLAGS}") dune_register_package_flags(COMPILE_DEFINITIONS "ENABLE_SUPERLU=1"
foreach(dir ${SUPERLU_INCLUDE_DIRS}) LIBRARIES "${SUPERLU_DUNE_LIBRARIES}"
set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}") INCLUDE_DIRS "${SUPERLU_INCLUDE_DIRS}")
endforeach()
set_property(GLOBAL APPEND PROPERTY
ALL_PKG_LIBS "${SUPERLU_DUNE_LIBRARIES}")
endif() endif()
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