| 1 |
# SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root |
| 2 |
# SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception |
| 3 |
|
| 4 |
# Link all test targets in this directory against Dune::ISTL |
| 5 |
link_libraries(Dune::ISTL) |
| 6 |
|
| 7 |
dune_add_test(NAME poweriterationtest SOURCES cond2test.cc |
| 8 |
CMD_ARGS 40) |
| 9 |
|
| 10 |
if(SuperLU_FOUND) |
| 11 |
dune_add_test(NAME poweriterationsuperlutest SOURCES cond2test.cc |
| 12 |
CMD_ARGS 40) |
| 13 |
add_dune_superlu_flags(poweriterationsuperlutest) |
| 14 |
endif() |
| 15 |
|
| 16 |
if(ARPACKPP_FOUND) |
| 17 |
dune_add_test(NAME arpackpptest SOURCES cond2test.cc) |
| 18 |
add_dune_arpackpp_flags(arpackpptest) |
| 19 |
endif() |
| 20 |
|
| 21 |
if(ARPACKPP_FOUND AND SuperLU_FOUND) |
| 22 |
dune_add_test(NAME arpackppsuperlutest SOURCES cond2test.cc) |
| 23 |
add_dune_superlu_flags(arpackppsuperlutest) |
| 24 |
add_dune_arpackpp_flags(arpackppsuperlutest) |
| 25 |
endif() |