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
Pipeline #6412 passed with stage
in 20 seconds
......@@ -35,8 +35,10 @@ add_subdirectory(examples EXCLUDE_FROM_ALL)
# if Python bindings are enabled, include necessary sub directories.
if(DUNE_ENABLE_PYTHONBINDINGS)
add_subdirectory(python)
dune_python_install_package(PATH "python")
if(${dune-common_VERSION} VERSION_GREATER_EQUAL 2.8)
add_subdirectory(python)
dune_python_install_package(PATH "python")
endif()
endif()
# finalize the dune project, e.g. generating config.h etc.
......
......@@ -15,5 +15,7 @@ add_subdirectory(timestepping)
# if Python bindings are enabled, include Python binding tests
if(DUNE_ENABLE_PYTHONBINDINGS)
add_subdirectory(python)
if(${dune-common_VERSION} VERSION_GREATER_EQUAL 2.8)
add_subdirectory(python)
endif()
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment