Skip to content
Snippets Groups Projects
Commit 69b4d0d9 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[cmake] create separate target for bindings

parent f4ff27ef
No related branches found
No related tags found
No related merge requests found
......@@ -15,4 +15,9 @@ add_subdirectory(test EXCLUDE_FROM_ALL )
if(dune-pybindxi_FOUND)
dune_pybindxi_add_module(_grid bindings.cc)
target_link_dune_default_libraries(_grid)
if(DUNE_XT_WITH_PYTHON_BINDINGS)
add_custom_target(bindings ALL DEPENDS _grid)
else()
add_custom_target(bindings DEPENDS _grid)
endif()
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