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

[cmake] Remove deprecated CMake variables for SuperLU

parent 3f94aec5
No related branches found
No related tags found
1 merge request!508Remove all deprecated code
......@@ -6,6 +6,13 @@ SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
# Master (will become release 2.10)
## Deprecations and removals
- The deprecated CMake variables `SUPERLU_INCLUDE_DIRS`, `SUPERLU_LIBRARIES`,
`SUPERLU_DUNE_COMPILE_FLAGS`, and `SUPERLU_DUNE_LIBRARIES` are removed, they are
replaced by the target `SuperLU::SuperLU`.
# Release 2.9
- Add `const` qualifier to `LinearOperator` and `ScalarProduct` in
......
......@@ -21,15 +21,6 @@ if(SuperLU_FOUND)
dune_register_package_flags(
COMPILE_DEFINITIONS "ENABLE_SUPERLU=1"
LIBRARIES SuperLU::SuperLU)
# for backwards compatibility only,
# they are deprecated and will be removed after Dune 2.8
set(SUPERLU_INCLUDE_DIRS ${SUPERLU_INCLUDE_DIR})
set(SUPERLU_LIBRARIES ${SUPERLU_LIBRARY})
set(SUPERLU_FOUND ${SuperLU_FOUND})
set(SUPERLU_DUNE_COMPILE_FLAGS "-I${SUPERLU_INCLUDE_DIRS}"
CACHE STRING "Compile flags used by DUNE when compiling SuperLU programs")
set(SUPERLU_DUNE_LIBRARIES ${SUPERLU_LIBRARIES} ${BLAS_LIBRARIES}
CACHE STRING "Libraries used by DUNE when linking SuperLU programs")
endif()
# Provide function to set target properties for linking to SuperLU
......
......@@ -10,17 +10,6 @@
# :code:`SuperLU_FOUND`
# True if SuperLU available and usable.
#
# :code:`SUPERLU_INCLUDE_DIRS`
# Path to the SuperLU include dirs.
# .. deprecated:: 2.8
# Use target SuperLU::SuperLU instead.
#
# :code:`SUPERLU_LIBRARIES`
# Name to the SuperLU library.
# .. deprecated:: 2.8
# Use target SuperLU::SuperLU instead.
#
#
# This module provides the following imported targets, if found:
#
# :code:`SuperLU:SuperLU`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment