Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-elasticity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
agnumpde
dune-elasticity
Merge requests
!62
Cmake: Look for PYTHONLIBS and for Python3
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Cmake: Look for PYTHONLIBS and for Python3
patrick.jaap_at_tu-dresden.de/dune-elasticity:fix/PYTHONLIBS
into
master
Overview
6
Commits
1
Pipelines
5
Changes
1
Merged
Patrick Jaap
requested to merge
patrick.jaap_at_tu-dresden.de/dune-elasticity:fix/PYTHONLIBS
into
master
4 years ago
Overview
6
Commits
1
Pipelines
5
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 4
f7ff4027
4 years ago
version 3
d031c3d8
4 years ago
version 2
767e3dcd
4 years ago
version 1
69e6191c
4 years ago
master (base)
and
latest version
latest version
d031c3d8
1 commit,
4 years ago
version 4
f7ff4027
2 commits,
4 years ago
version 3
d031c3d8
1 commit,
4 years ago
version 2
767e3dcd
1 commit,
4 years ago
version 1
69e6191c
1 commit,
4 years ago
1 file
+
5
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/CMakeLists.txt
+
5
−
9
Options
if
(
ADOLC_FOUND AND IPOPT_FOUND AND Python3_FOUND AND dune-uggrid_FOUND
)
set
(
programs 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.9"
AND
${
dune-fufem_VERSION
}
VERSION_GREATER_EQUAL
"2.8.0"
))
set
(
programs
${
programs
}
finite-strain-elasticity
)
endif
()
# Note: PYTHONLIBS_FOUND is only for backwards compatibility with dune-fufem 2.7 and can be removed
# in the next release
if
(
ADOLC_FOUND AND IPOPT_FOUND
AND
(
Python3_FOUND OR PYTHONLIBS_FOUND
)
AND dune-uggrid_FOUND
)
set
(
programs linear-elasticity
finite-strain-elasticity
)
foreach
(
_program
${
programs
}
)
add_executable
(
${
_program
}
${
_program
}
.cc
)
Loading