python/dune/istl/CMakeLists.txt
raw| 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 | add_python_targets(istl |
| 5 | __init__ |
| 6 | ) |
| 7 | dune_add_pybind11_module(NAME _istl) |
| 8 | target_link_libraries(_istl PUBLIC Dune::ISTL) |
| 9 | if(SKBUILD) |
| 10 | install(TARGETS _istl LIBRARY DESTINATION python/dune/istl) |
| 11 | endif() |