Skip to content
Snippets Groups Projects
Commit e51ac2e4 authored by Timo Koch's avatar Timo Koch
Browse files

[python] Only install lib when packacking

parent d8a6a26d
No related branches found
No related tags found
1 merge request!2934[python] Make bindings work with dune 2.9
...@@ -4,4 +4,7 @@ add_python_targets(common ...@@ -4,4 +4,7 @@ add_python_targets(common
) )
dune_add_pybind11_module(NAME _common) dune_add_pybind11_module(NAME _common)
set_property(TARGET _common PROPERTY LINK_LIBRARIES dunecommon dunegrid APPEND) set_property(TARGET _common PROPERTY LINK_LIBRARIES dunecommon dunegrid APPEND)
install(TARGETS _common LIBRARY DESTINATION python/dumux/common)
if(SKBUILD)
install(TARGETS _common LIBRARY DESTINATION python/dumux/common)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment