Skip to content
Snippets Groups Projects
Commit 99fd871e authored by Robert K's avatar Robert K
Browse files

[feature][DUNE_ENABLE_PYTHONBINDINGS] Added cmake option for enabling

Python bindings, default is OFF.
parent c81308d3
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,12 @@ add_subdirectory(cmake/modules)
add_subdirectory(dune)
add_subdirectory(doc)
add_subdirectory(lib)
add_subdirectory(python)
dune_python_install_package(PATH python)
# if Python bindings are enabled, include necessary sub directories.
if( DUNE_ENABLE_PYTHONBINDINGS )
add_subdirectory(python)
dune_python_install_package(PATH python)
endif()
# finalize the dune project, e.g. generating config.h etc.
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
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