diff --git a/python/dune/grid/CMakeLists.txt b/python/dune/grid/CMakeLists.txt index 5b74a92cc29dd98e0a46786573c9c36272931a68..f88acf804eccac4b2d10e858c93f39c6c1f6de57 100644 --- a/python/dune/grid/CMakeLists.txt +++ b/python/dune/grid/CMakeLists.txt @@ -12,7 +12,7 @@ add_python_targets(grid datahandle ) dune_add_pybind11_module(NAME _grid) -set_property(TARGET _grid PROPERTY LINK_LIBRARIES Dune::Grid APPEND) +target_link_libraries(_grid PUBLIC Dune::Grid) if(SKBUILD) install(TARGETS _grid LIBRARY DESTINATION python/dune/grid) endif()