Skip to content
Snippets Groups Projects
Commit dca97ab1 authored by Hanchuan Wu's avatar Hanchuan Wu
Browse files

Merge branch 'cherry-pick-47d743f7' into 'releases/3.4'

Merge branch 'feature/python-dune-version' into 'master'

See merge request !2729
parents 5f4a5182 9a0f6eff
No related branches found
No related tags found
1 merge request!2729Merge branch 'feature/python-dune-version' into 'master'
Pipeline #6412 passed
...@@ -35,8 +35,10 @@ add_subdirectory(examples EXCLUDE_FROM_ALL) ...@@ -35,8 +35,10 @@ add_subdirectory(examples EXCLUDE_FROM_ALL)
# if Python bindings are enabled, include necessary sub directories. # if Python bindings are enabled, include necessary sub directories.
if(DUNE_ENABLE_PYTHONBINDINGS) if(DUNE_ENABLE_PYTHONBINDINGS)
add_subdirectory(python) if(${dune-common_VERSION} VERSION_GREATER_EQUAL 2.8)
dune_python_install_package(PATH "python") add_subdirectory(python)
dune_python_install_package(PATH "python")
endif()
endif() endif()
# finalize the dune project, e.g. generating config.h etc. # finalize the dune project, e.g. generating config.h etc.
......
...@@ -15,5 +15,7 @@ add_subdirectory(timestepping) ...@@ -15,5 +15,7 @@ add_subdirectory(timestepping)
# if Python bindings are enabled, include Python binding tests # if Python bindings are enabled, include Python binding tests
if(DUNE_ENABLE_PYTHONBINDINGS) if(DUNE_ENABLE_PYTHONBINDINGS)
add_subdirectory(python) if(${dune-common_VERSION} VERSION_GREATER_EQUAL 2.8)
add_subdirectory(python)
endif()
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