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
GitLab 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
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
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
Cmake: Look for PYTHONLIBS and for Python3
Patrick Jaap
requested to merge
patrick.jaap_at_tu-dresden.de/dune-elasticity:fix/PYTHONLIBS
into
master
Apr 15, 2021
Overview
6
Commits
1
Pipelines
5
Changes
1
0
0
Merge request reports
Compare
master
version 4
f7ff4027
Apr 19, 2021
version 3
d031c3d8
Apr 16, 2021
version 2
767e3dcd
Apr 16, 2021
version 1
69e6191c
Apr 15, 2021
master (base)
and
latest version
latest version
d031c3d8
1 commit,
Apr 19, 2021
version 4
f7ff4027
2 commits,
Apr 19, 2021
version 3
d031c3d8
1 commit,
Apr 16, 2021
version 2
767e3dcd
1 commit,
Apr 16, 2021
version 1
69e6191c
1 commit,
Apr 15, 2021
1 file
+
5
−
9
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/CMakeLists.txt
+
5
−
9
View file @ d031c3d8
Edit in single-file editor
Open in Web IDE
Show full file
if
(
ADOLC_FOUND AND IPOPT_FOUND AND Python3_FOUND AND dune-uggrid_FOUND
)
# Note: PYTHONLIBS_FOUND is only for backwards compatibility with dune-fufem 2.7 and can be removed
set
(
programs linear-elasticity
)
# in the next release
if
(
ADOLC_FOUND AND IPOPT_FOUND
AND
(
Python3_FOUND OR PYTHONLIBS_FOUND
)
AND dune-uggrid_FOUND
)
# When combining dune-common 2.7 and dune-fufem 2.8, no cmake test for the
set
(
programs linear-elasticity
# Python bindings is ever called (that's not a bug). In that case
finite-strain-elasticity
)
# 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
()
foreach
(
_program
${
programs
}
)
foreach
(
_program
${
programs
}
)
add_executable
(
${
_program
}
${
_program
}
.cc
)
add_executable
(
${
_program
}
${
_program
}
.cc
)
Loading