python/dune/localfunctions/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(localfunctions |
| 5 | __init__ |
| 6 | ) |
| 7 | |
| 8 | dune_add_pybind11_module(NAME _localfunctions) |
| 9 | target_link_libraries(_localfunctions PUBLIC Dune::Common Dune::Geometry Dune::LocalFunctions) |
| 10 | if(SKBUILD) |
| 11 | install(TARGETS _localfunctions LIBRARY DESTINATION python/dune/localfunctions) |
| 12 | endif() |