Skip to content
Snippets Groups Projects
Commit 69c6ba89 authored by Dominic Kempf's avatar Dominic Kempf Committed by Steffen Müthing
Browse files

[Release] Merge branch 'feature/FS1557-add-all-flags-by-default'


(cherry picked from commit 1246f567)
Signed-off-by: default avatarSteffen Müthing <muething@dune-project.org>
parent ee6e5f6c
Branches
Tags
1 merge request!112Add data() accessors to BlockVector
......@@ -133,12 +133,9 @@ endif(SUPERLU_FOUND)
# set HAVE_SUPERLU for config.h
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)
set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-DENABLE_SUPERLU ${SUPERLU_DUNE_COMPILE_FLAGS}")
foreach(dir ${SUPERLU_INCLUDE_DIRS})
set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}")
endforeach()
set_property(GLOBAL APPEND PROPERTY
ALL_PKG_LIBS "${SUPERLU_DUNE_LIBRARIES}")
dune_register_package_flags(COMPILE_DEFINITIONS "ENABLE_SUPERLU=1"
LIBRARIES "${SUPERLU_DUNE_LIBRARIES}"
INCLUDE_DIRS "${SUPERLU_INCLUDE_DIRS}")
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment