Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
4eba179d
Commit
4eba179d
authored
Jul 24, 2021
by
Timo Koch
Browse files
[python] Require dune-common>=2.8 to enable Python bindings
parent
50ab721c
Pipeline
#6313
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4eba179d
...
...
@@ -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.
...
...
test/CMakeLists.txt
View file @
4eba179d
...
...
@@ -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
()
Timo Koch
@timok
mentioned in commit
9a0f6eff
·
Jul 27, 2021
mentioned in commit
9a0f6eff
mentioned in commit 9a0f6eff54a41d2c0c5ad34c3e0b2acabe90fb40
Toggle commit list
Timo Koch
@timok
mentioned in merge request
!2729 (merged)
·
Jul 27, 2021
mentioned in merge request
!2729 (merged)
mentioned in merge request !2729
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment