Skip to content
Snippets Groups Projects
Commit 99499c34 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Don't build finite-strain-elasticity w. dune-common 2.7 & dune-fufem 2.8

Because in this particular combination, no cmake Python test is ever
called, and therefore Python is not available.
parent f43b0511
No related branches found
No related tags found
No related merge requests found
Pipeline #36759 failed
if(ADOLC_FOUND AND IPOPT_FOUND AND PYTHONLIBS_FOUND AND dune-uggrid_FOUND) if(ADOLC_FOUND AND IPOPT_FOUND AND PYTHONLIBS_FOUND AND dune-uggrid_FOUND)
set(programs finite-strain-elasticity set(programs linear-elasticity)
linear-elasticity)
# When combining dune-common 2.7 and dune-fufem 2.8, no cmake test for the
# Python bindings is ever called (that's not a bug). In that case
# we simply skip building the one executable that needs Python.
if(NOT (${dune-common_VERSION} VERSION_LESS_EQUAL "2.7.0" AND ${dune-fufem_VERSION} VERSION_GREATER_EQUAL "2.8.0"))
set(programs ${programs} finite-strain-elasticity)
endif()
foreach(_program ${programs}) foreach(_program ${programs})
add_executable(${_program} ${_program}.cc) add_executable(${_program} ${_program}.cc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment